Hide the status bar on iPhone on a single view?

Try This one It will Run perfectly.. try this code on the page . UIApplication sharedApplication setStatusBar and in XIB set none option for the status bar.

I think in your case the bit about setting the XIB to have no status bar and to make sure the size of the view covers where the status bar would have been are the things you need to do. If your XIB has the status bar and then you hide it within the code the view is not necessarily going to expand to cover that now empty space. – carbonbasednerd Nov 30 at 13:59 yeah maybe, I have the view height set to 480 though.

– Adam Waite Nov 30 at 15:09.

I would suggest you a different approach: insert that view onto the application's window: YourUIAppDelegate *appDelegate = UIApplication sharedApplication. Delegate; appDelegate. Window insertSubview:self.

YourView atIndex:(appDelegate. Window subviewscount); That way it will show over the status bar I hope it helps you.

This would be a good diagnostic. – JoePasq Dec 1 at 13:56.

Here is a snippet of code that might help. When the view loads show the status bar, when you leave the view hide it again. -(void)viewWillAppear:(BOOL)animated { if(UIApplication sharedApplication respondsToSelector:@selector(setStatusBardden: withAnimation:)) UIApplication sharedApplication setStatusBardden:NO withAnimation:UIStatusBarAnimationFade; else UIApplication sharedApplication setStatusBar } -(void)viewWillDisappear:(BOOL)animated { if(UIApplication sharedApplication respondsToSelector:@selector(setStatusBardden: withAnimation:)) UIApplication sharedApplication setStatusBardden:YES withAnimation:UIStatusBarAnimationFade; else UIApplication sharedApplication setStatusBar }.

Nope, doesn't help unfortunately. Thanks anyway. – Adam Waite Nov 30 at 15:46.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions