I had the same problem that I was able to fix it by adding a call,
// Where self == Your View Controller with the status bar hidden [self setWantsFullScreenLayout:YES];
Then I put this in my init method from the View Viewer, where the status bar is hidden. Then I added the following code to the view by loading or loading the view method.
if ([[UIApplication sharedApplication] respondsToSelector:@selector(setStatusBarHidden:withAnimation:)]) { [[UIApplication sharedApplication] setStatusBarHidden:hide withAnimation:NO]; } else {
This will allow you to have a view controller with and without a status bar. For example, a photo application does this.
source share