Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IOS 7 Status bar keeps appearing

Tags:

ios

iphone

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 *

like image 853
clive dancey Avatar asked Feb 04 '14 07:02

clive dancey


People also ask

What do the icons in the status bar mean on iPhone?

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 do I fix the status bar on my 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.

How do I check the status of my iPhone with Face ID?

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.

How to tell if status bar is dark or light?

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.


1 Answers

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 Set this parameter in .plist file

like image 52
bhavya kothari Avatar answered Oct 24 '22 11:10

bhavya kothari