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

how to hide the Status Bar while LaunchScreen.xib is showing? #22

Open
faceyspacey opened this issue May 2, 2016 · 2 comments
Open

Comments

@faceyspacey
Copy link

Once React-Native kicks in, its control of the status bar starts working, but I'd like to not see it while the splash screen is showing as well. How can you accomplish that?

@mehcode
Copy link

mehcode commented Aug 11, 2016

It'd be easy enough with a change to [RCTSplashScreen Show] to accept a parameter to enable/disable the status bar. I'd accept a PR over at https://github.com/mehcode/rn-splash-screen

@tasarsu
Copy link

tasarsu commented Apr 16, 2017

You can define it in your apps Info.plist file. This will initially hide status bar. Then if you want you can show again in the app..

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>UIStatusBarHidden</key>
	<true/>
...

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

3 participants