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 *
The icons in the status bar at the top of the screen provide information about iPhone. On an iPhone with Face ID, there are additional status icons at the top of Control Center. Note: If you turn on a Focus, its icon appears in the status bar. See Turn a Focus on or off on iPhone.
How To Fix A Missing iPhone Status Bar. 99% of the time, restarting your iPhone will fix this problem. On an iPhone 8 or earlier, press and hold the power button until the words “slide to power off” appear on the display. Then, swipe the power icon from left to right to turn off your iPhone.
On an iPhone with Face ID, there are additional status icons at the top of Control Center. Note: If you turn on a Focus, its icon appears in the status bar. See Turn a Focus on or off on iPhone. Cell signal The number of bars indicates the signal strength of your cellular service. If there’s no signal, “No Service” appears.
Without seeing any code it's hard to tell, but here are a few random points about the status bar... - as of iOS 7, the light / dark refers to the *text*, not the background, of the status bar. The bar itself is transparent and shows whatever you have drawn behind it.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With