Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

hide the statusbar

I hope to display the view of one of ViewControllers in my app as full screen , so in Interface Builder, I set the statusbar as None. I also resize the frame of view as 320*480

but when I run the app, the view of the viewcontroller still displays the statusbar.

Welcome any comment

thanks

alt text

like image 461
arachide Avatar asked Mar 10 '26 19:03

arachide


2 Answers

Call setStatusBarHidden:withAnimation: on [UIApplication sharedApplication].

like image 88
Jacques Avatar answered Mar 12 '26 08:03

Jacques


it is not diffult to solve the problem. In your project setting plist file, check the key"Status bar is initially hidden", status bar will be removed from startup.

like image 43
jeff Avatar answered Mar 12 '26 07:03

jeff



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!