The status bar style is set as following:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
[application setStatusBarStyle:UIStatusBarStyleBlackOpaque];
}
But the status bar style when app is launching is UIStatusBarStyleDefault
. How to set the status bar style while the app is launching? Thanks in advance!
Go ot your project, Add a key value pair to the project-Info.plist
This will make the default status bar to UIStatusBarStyleBlackOpaque
for further info check the following How to change the UIStatus bar color?