Skip to content

Instantly share code, notes, and snippets.

@psobko
Created March 11, 2014 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psobko/9493473 to your computer and use it in GitHub Desktop.
Save psobko/9493473 to your computer and use it in GitHub Desktop.
Hide the status bar in UIImagePickerController on iOS7
@implementation UIImagePickerController (HideStatusBar)
- (BOOL)prefersStatusBarHidden
{
return YES;
}
- (UIViewController *)childViewControllerForStatusBarHidden
{
return nil;
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment