Tuesday, December 7, 2010

How to Hide Status Bar or Change Its Style in iPhone App

By default, the status bar is displayed in iPhone App. If your root view frame origin is (0,0), it will be displayed just below the status bar.

If you want to hide the status bar, add one entry to the property list of your app:

Status bar is initially hidden

and make sure it is checked.

If you want to change the style of the status bar, add one entry to the property list:

Status bar style

Do not try to change status bar style or hide it in Interface Builder. That is only for visualizing other views or controls, not really changing the status bar.

No comments:

Post a Comment