开发者

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.

How to Remove status bar from Particular View controller?


[[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]; }

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜