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

Status bar turn black for a moment #29

Open
vespino opened this issue Apr 2, 2014 · 2 comments
Open

Status bar turn black for a moment #29

vespino opened this issue Apr 2, 2014 · 2 comments

Comments

@vespino
Copy link

vespino commented Apr 2, 2014

When my app starts up the splashscreen is shown, then the statusbar turns black before turning into the color I'd like to use. Is this something I can prevent? I'm using these settings in Phonegap Build:

StatusBar.overlaysWebView(false);
StatusBar.backgroundColorByHexString("#666a6d");

@vespino
Copy link
Author

vespino commented Apr 9, 2014

Nobody?

@martinbottanek
Copy link

You may try to hardcode the desired color inside of "_backgroundColorByHexString:(NSString*)hexString"

e.g. _statusBarBackgroundView.backgroundColor = [UIColor cyanColor];

Obviously, the default is black.

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

2 participants