The correct key in the .plist is "UIStatusBarHidden" and make the correct checkbox. After that, the “Status bar is hidden first” and then automatically. In my practice, you can control the show / hide of the StatusBar anywhere when hide:
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:NO]; [UIApplication sharedApplication].keyWindow.frame=CGRectMake(0, 0, 320, 480);
when shown:
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:NO]; [UIApplication sharedApplication].keyWindow.frame=CGRectMake(0, 20, 320, 460);
Hope this was helpful to you.
Max Jul 06 '11 at 2:12 2011-07-06 02:12
source share