Cannot hide status bar in iOS7
Add method in your view controller.
- (BOOL)prefersStatusBarHidden {
return YES;
}
in your apps plist file add a row call it "View controller-based status bar appearance" and set it to NO
Note that this simply does not work, if you are using UIImagePickerController in the app.
from http://www.openfl.org/developer/forums/general-discussion/iphone-5ios-7-cant-hide-status-bar/, mgiroux's solution