IOS Storyboard: Status Bar Color

I am trying to change the statusbar Color in a storyboard, but it does not work. The bar is gray, but I want to have a black bar. I know, I can change this with the following code:

[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackOpaque animated:YES];

But when the application starts, the status bar will turn gray and then black. It does not look good.

I hope you can help me.

+5
source share
1 answer

I would recommend setting the status bar style to% AppName% -Info.plist of your project. enter image description here

+8
source

All Articles