Sometimes you might encounter a black screen before your launch screen on iOS. While this can be annoying, it usually boils down to a few possible issues that are easy to debug and resolve!
Note: The easiest way to set up your splash screen is to use the @expo/configure-splash-screen
package like so:
yarn expo-splash-screen -p ios -i splash.png -b "#ffffff"
If you've manually added your own splash image to Images.xcassets
, then you might need to restart your simulator or device.
If you never see your splash screen image i.e the app launch transitions from black screen to your app, then there might be a problem with your image.
This could be a number of different issues, this StackOverflow thread outlines a number of possibly solutions.
One quick and easy way to verify that it is indeed a problem with your asset is to change to one of the system assets that is bundled with Xcode - these should launch with no problem
It's not uncommon for your app to get into a state where the black screen doesn't seem to go away, or your app never launches. Restarting Xcode usually fixes this.