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

iOS StatusBar light-content not working #110

Closed
Proyoyo opened this issue Feb 22, 2018 · 4 comments
Closed

iOS StatusBar light-content not working #110

Proyoyo opened this issue Feb 22, 2018 · 4 comments

Comments

@Proyoyo
Copy link
Contributor

Proyoyo commented Feb 22, 2018

On iOS, StatusBar always reverted back to default (dark-content) even after setting it in the NavBar.

@Adis
Copy link

Adis commented Mar 5, 2018

In your Info.plist, set the "View controller-based status bar appearance" to NO (it might be missing, so add a new key), then in the General tab, set the status bar style to light-content.

@Proyoyo
Copy link
Contributor Author

Proyoyo commented Mar 5, 2018

@Adis it's still doesn't work. I think it's related to this bug: aksonov/react-native-router-flux#2882

@mdelclaro
Copy link

Did you try this?
<StatusBar barStyle="light-content"/>

@Proyoyo
Copy link
Contributor Author

Proyoyo commented Aug 3, 2018

@mdelclaro Yeah I already tried that. I can't test it at the moment but I think this might have something to do with https://github.com/react-native-community/react-native-navbar having it's own StatusBar. The best way to fix this is to remove react-native-navbar component and use our own React Component as the custom navigation bar.

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

No branches or pull requests

3 participants