I use an UITableViewController
into a Navigation Controller
that comes up when an UIButton
pressed. When the button has been pressed the <
Here's a post that explains well how to set the status bar ViewController based: iOS 7 and later: set status bar style per view controller
If there is nothing code about related to statusBar in viewDidLoad
and ViewWillAppear
Then fix it by using [[UIApplication sharedApplication] setStatusBarHidden:NO animated:NO];
write this code in ViewWillAppear
method.
If anyone has the same problem in future, this is the answer.
Step 1: Add this to your .plist file.
View controller-based status bar appearance ---> NO
Step 2: These two lines to your appDelegate into didFinishLaunchingWithOptions method.
[[UIApplication sharedApplication] setStatusBarHidden:NO];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];