I have an app that sets the statusbar color like this
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[application setStatusBarStyle:UIStatusBarStyleBlackTranslucent];
...
}
Yet during startup when my Default.png is displayed a grey status bar is displayed.
I'd like to know how to display the black style also on startup...
If you are looking to change it once and only once, the best place to do this is in your application's plist.
You can add:
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleBlackTranslucent</string>
or if viewing as Property List
Status bar style Translucent black style
Just right click and "Add row", Status bar style will be an available option, with Translucent black style as the available field.
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