tags:

views:

39

answers:

2

Hello everyone

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

+1  A: 

Call setStatusBarHidden:withAnimation: on [UIApplication sharedApplication].

Jacques
`[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:YES];`
Emil
even I use [[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES];the statusbar disappeared, but there is a white block on the top of screen :-(
please refer to the white block on the image above
A: 

Take a quick look at this Video:

http://www.youtube.com/watch?v=eWz6Yngbwws

Happy coding!

DailyDoggy