Saturday, March 19, 2011

How to remove status bar in iOS 3.2 and above apps

You want to remove the status bar(the bar with the signal display and which displays time as well as shown in the screenshot below)


After adding following lines to your app:

[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];

You will be able to remove the status bar as shown in the screenshot below

No comments:

Post a Comment