I have an application with status bar hidden. For hiding status bar I did following things:
[[UIApplication sharedApplication] setStatusBarHidden:YES];
This was working with ios 6. Now in iOS 7 I added View controller-based status bar appearance = NO
.
I also created subclass of my navigation controller and added:
- (BOOL)prefersStatusBarHidden
{
return YES;
}
Everything is working well but when I present UIImagePicker status bar goes visible and than it never hides back even after dismissing view. I also added prefersStatusBarHidden
method in the related view too but no success :(
Any help please.