dismissModalViewController Hides the parent view behind status bar dismissModalViewController Hides the parent view behind status bar xcode xcode

dismissModalViewController Hides the parent view behind status bar


Try putting this in ViewDidAppear:

[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];

Worst case, if it is always happening only after the modal view controller is dismissed, declare a boolean for afterFirstLaunch in the .h and put this in viewDidAppear:

if(afterFirstLaunch){      CGRect frame = self.navigationController.view.frame;      frame.origin.y = 20;      self.navigationController.view.frame = frame;}else {      afterFirstLaunch = true; }