I have a boolean with an option to show/hide the status bar in an app
- (BOOL)prefersStatusBarHidden
{
return ![[NSUserDefaults standardUserDefaults] boolForKey:@"showStatus"];
}
- (UIStatusBarStyle)preferredStatusBarStyle
{
return UIStatusBarStyleLightContent;
}
it works great but when i start a new audio recording the status appears all the time..how to start a record and hide the statusbar ?