How can I load my app and have the black status bar shown while my loading (Default.png) is shown? Currently it always uses the grey status bar, but changes to black when my app finally loads.
I already have
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackOpaque];
in my didFinishLaunchingWithOptions:
method.
In your applications info.plist file, add the key UIStatusBarStyle
and choose your desired style from the options. If you do this you don't need to set the style on didFinishLaunching.
This should be in the default info.plist in my opinion, but I'm sure there's a good reason why it isn't.
More information here.
It might be useful, I haven't checked, to change the style of status bar in .plist file in your application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With