Using the UINavigationController and set its barStyle navigation barStyle to .Black . go through this line in the file AppDelegate.m .
navigationController.navigationBar.barStyle = UIBarStyleBlack;
If you are not using the UINavigationController , add the following code to your ViewController.m file.
- (UIStatusBarStyle)preferredStatusBarStyle { return UIStatusBarStyleLightContent; }
And call the method of this line:
[self setNeedsStatusBarAppearanceUpdate]
Jay Bhalani Oct 13 '15 at 13:33 2015-10-13 13:33
source share