Where can I change the color of the status bar during startup when Default.png is displayed

I have an application that sets the status bar color as follows

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [application setStatusBarStyle:UIStatusBarStyleBlackTranslucent]; ... } 

However, during startup, when my Default.png is displayed, a status bar is displayed.

I would like to know how to display black style and at startup ...

+6
source share
1 answer

If you want to change it once and only once, the best place for this is in your application.

You can add:

 <key>UIStatusBarStyle</key> <string>UIStatusBarStyleBlackTranslucent</string> 

or when viewed as a list of properties

 Status bar style Translucent black style 

Just right-click and "Add Line", the "Status Bar" style will be available, with a transparent black style as the available field.

+22
source

Source: https://habr.com/ru/post/906024/


All Articles