IOS 7 Status bar keeps appearing
ios, iphone
Solution
You need implement 2 steps for to hide status bar accross your app:
1) didFinishLaunchingWithOptions
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
[[UIApplication sharedApplication]setStatusBarHidden:YES];
.......
}
2) And .plist file of your project
Problem
I have used the two methods to remove the status bar ( the one with the time and the signal strength )but it keeps reappearing in my app for IOS 7 I have used the ' hide during application launch ' in GENERAL SETTINGS I have added the ' status bar is initially hidden' BOOL to YES I have changed the status bar to NONE in every View Controller The problem occurs when i return after having accessed the IPHONE photo library to import a picture into my APP , and only then , it seems to override any previous entries in the PLIST Does anyone have any code to permanently disable this status bar so it does not appear? Thanks * I have tried all the options listed but still when my app returns from opening and selecting from the photo gallery the status bar re-appears *