I am new to iOS development. I am trying to hide status bar in UIImagePickerController
. Whenever I click on \"Take photo\", status bar appears. It doesn\'t hide
Please try this.
• Setting a delegate for the UIImagePickerController
• hide the status bar in the delegate's navigationController:didShowViewController:animated: function.
E.G:
-(void)navigationController:(UINavigationController *)navigationController didShowViewController:(UIViewController *)viewController animated:(BOOL)animated
{
[[UIApplication sharedApplication] setStatusBarHidden:YES];
}