I am trying to change the app StatusBar colour and it works ONLY when my XIB has no navigationBars. To do so, I added the following function to my source file:
-(UIStatusBarStyle)preferredStatusBarStyle{
return UIStatusBarStyleLightContent;
}
But when I call [self.navigationController setNavigationBarHidden:NO animated:NO];
the status bar goes back to the default style.
It leads me to believe that the navigation bar should set the statusBar colour for itself.
Ant suggestions?