Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support launch storyboards as splash screens on iOS #115

Open
abarisic86 opened this issue Oct 25, 2017 · 13 comments
Open

Support launch storyboards as splash screens on iOS #115

abarisic86 opened this issue Oct 25, 2017 · 13 comments

Comments

@abarisic86
Copy link

abarisic86 commented Oct 25, 2017

Is launch storyboard supported with this library? I can't get it to work.

@maggialejandro
Copy link

I'm having the same problem trying to configure iPhone X following this tutorial
The splashscreen stoped working after I added the storyboard..

@jordanmkoncz
Copy link

Also wondering this, as my app is using a LaunchScreen.storyboard file.

@wincod75
Copy link

Anyone still having this issue? Doesn't seem to play nice with .storyboard files; won't unmount the splash screen, just stays on top.

@gwmccull
Copy link

gwmccull commented Feb 1, 2020

anyone know if this is an issue? Apparently in April 2020, we'll all be required to use Storyboard
https://developer.apple.com/news/?id=01132020b

@gwmccull
Copy link

update, I switched us to using a storyboard w/o issues. The only change was to create the storyboard and then change the project target to use that as the launch screen instead of the old LaunchScreen.xib

@Victorien-Tardif
Copy link

update, I switched us to using a storyboard w/o issues. The only change was to create the storyboard and then change the project target to use that as the launch screen instead of the old LaunchScreen.xib

Hello @gwmccull, how did you do that ? I'm confused, I just can't see the reference to LaunchScreen.xib, now that I updated to a .storyboard file I can't make it work, splashscreen is always white

@gwmccull
Copy link

gwmccull commented Mar 4, 2020

@Victorien-Tardif did you change the Launch Screen File setting on your target?
image

select your project, then select the correct target, then choose the General tab

@Victorien-Tardif
Copy link

@Victorien-Tardif did you change the Launch Screen File setting on your target?
image

select your project, then select the correct target, then choose the General tab

Yes of course ! But it does not work at all. No changes to make for RNSplashScreen ?

@Victorien-Tardif
Copy link

@Victorien-Tardif did you change the Launch Screen File setting on your target?
image
select your project, then select the correct target, then choose the General tab

Yes of course ! But it does not work at all. No changes to make for RNSplashScreen ?

Well, for some reason it works when I put the file in the Base.lproj folder!

@MoOx
Copy link

MoOx commented Mar 26, 2020

In a month that is going to be a real issue.

Starting April 30, 2020, apps submitted to the App Store must use an Xcode storyboard to provide the app’s launch screen

Source: https://developer.apple.com/ios/submit/

To be ready, you should start using https://github.com/zoontek/react-native-bootsplash that already support storyboard

@timhatch
Copy link

I found the tutorial at React Native iOS Splash Screen with Storyboard quite helpful.
I may look at the BootSplash component for a new build.

@bohomi
Copy link

bohomi commented Jul 31, 2020

replacing the RNSplashScreen line in AppDelegate.m did the trick for me.

changed from [RNSplashScreen showSplash:@"LaunchScreen" inRootView:rootView]; to [RNSplashScreen show];

@YOEL311
Copy link

YOEL311 commented Aug 27, 2023

@bohomi

I would like to know how the show method works.
Which file should be loaded?

There is code for the library, but I don't understand how it works
[RNSplashScreen show];

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

No branches or pull requests

10 participants