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.
source
share