Tag Archive for 'hide status bar'

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