react-native-make icon indicating copy to clipboard operation
react-native-make copied to clipboard

Splash screen doesn't work on iOS

Open njacob1001 opened this issue 5 years ago • 2 comments

I used the command react-native set-splash --path ./splash.png --background #F5861F

but only works in android pretty well, however in iOS only shows a blank black screen, when I inspect with Xcode I can check that the storyboard of splash screen is the default by react-native, and only has the image saved in the folder but is not being used in any place

njacob1001 avatar Nov 10 '20 22:11 njacob1001

@njacob1001 Did you follow the steps to add a Splash Screen with xcode that the documentation indicates? (this step is necessary before executing the command to create the splash) I also added a splash for android and ios without problem.

  1. open your file myProject.xcworkspace in XCode
  2. right-click on your project folder > "New file..." > "Launch Screen" > "Save as: SplashScreen"
  3. react-native set-splash --platform ios --path

Juliocbr avatar Nov 14 '20 15:11 Juliocbr

Same as #46

rahamin1 avatar Nov 18 '20 19:11 rahamin1