views:

26

answers:

0

How do I go about hiding the iPhone status bar in select views only? I know there is an option in the plist file but that applies to the whole project. Also, Ive tried using this line:

[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation: UIStatusBarAnimationSlide];

but this applies it to the whole project, even if I put them individually in each view. It chooses one to go by and applies it to the whole project. I need a way to show in one view and hide in one view.

Thanks

EDIT: The problem I'm facing now is when I come back to my main view after visiting my flipview, the status bar has disappeared, which is all good, but the area where the status bar would be is left blank, and has shifted the entire view about 20 pixels down. Any ideas?