Friday, May 15, 2009

iPhone: How to remove status bar in my application

By default, the status bar is always displayed on an application.
Some times, the status bar is obtrusive. 
To remove the status bar, add the following code in the application delegate. 

- (void)applicationDidFinishLaunching:(UIApplication *)application { 

[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];

// Then, Do what you want.. 


No comments:

Post a Comment