iOS – Change navigation color on iOS

We have two solution we can solve like this. First solution. Set the UIViewControllerBasedStatusBarAppearance to YES in the .plist file. In the viewDidLoad do a [self setNeedsStatusBarAppearanceUpdate]; Add the following method: -(UIStatusBarStyle)preferredStatusBarStyle{ return UIStatusBarStyleLightContent; } Second solution. Set the UIViewControllerBasedStatusBarAppearance to NO in the .plist file. Put the [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; That’s it.