How to Remove status bar from Particular View controller?
I am trying to remove status bar fro开发者_JS百科m particular View Controller but still it shows blue line when i tried to Hide it so please give some suggestions for that.
[[UIApplication sharedApplication] setStatusBarHidden:YES];
In order to Hide the Status bar from Every View try putting the code in your appdelegate file. in the applicationDidFinishLaunching method as follows
-(void)applicationDidFinishLaunching:(UIApplication *)application {
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];
[window addSubview:tabBarController.view]; }
精彩评论