Go to your application Plist and add this as new row & set it as NO.
View controller-based status bar appearance NO
Add a bool to determine state of UIStatusBar
colour & add a Toggle method
@property(nonatomic) BOOL black;
-(void)toggleStatuSBar:(id)sender{
if(black) {
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:YES];
black = NO;
}else {
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault animated:YES];
black = YES;
}
}
here is a Sample ScreenShot
When Menu is Closed, the colour is White.
When Menu is Open The colour is Black
Hope that helps.