0
votes

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?

2

2 Answers

7
votes

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.

0
votes

You can set it anywhere you want :-) Preferly where you want to hide it :)