Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Splash screen doesn't work on iOS #47

Open
njacob1001 opened this issue Nov 10, 2020 · 2 comments
Open

Splash screen doesn't work on iOS #47

njacob1001 opened this issue Nov 10, 2020 · 2 comments

Comments

@njacob1001
Copy link

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

@Juliocbr
Copy link

Juliocbr commented Nov 14, 2020

@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

@rahamin1
Copy link

Same as #46

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants