Hide iPhone status bar

Hi folks,

today something very short and simple. There are two ways to hide your status bar within your iPhone app:

  1. Programmatically
    ...
    //use this whereever you want
    [[UIApplication sharedApplication] setStatusBarHidden:YES
                                       animated:NO];
    ...
  2. Configuration of your Info.plist (seen in SDK 3.1.2)
    Just add a new line to your "your project name"-Info.plist file and select "Status bar is initially hidden" like in the picture below.

Thats pretty all! Have fun,
Andreas

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

1 Response to “Hide iPhone status bar”


Leave a Reply