Reputation: 2493
I need some help. I want that my app runs without status bar.
[[UIApplication sharedApplication] setStatusBarHidden:YES];
I put this line into appDelegate in
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
Maybe exist better place?
Upvotes: 0
Views: 1252
Reputation: 8408
You can set it anywhere you want :-) Preferly where you want to hide it :)
Upvotes: 0
Reputation: 58468
You can enter the key: UIStatusBarHidden
in your info plist, make it a boolean value and set it to YES
. Then your app will start without the status bar.
Upvotes: 7