Can't hide status bar on view controller on ios 7 device.
Already tried setting through plist file and also in Appcontroller.mm but still i doesn't hide the status bar
[[UIApplication sharedApplication] setStatusBarHidden:YES];//Doesn't help
To completely hide it on the home screen, open up an app, such as Settings, and wait about three to four seconds. Press the home button again, and the status bar will be completely gone.
Go to Your info. plist file. Add a key called “View controller-based status bar appearance” and set its value to NO.
A status bar appears along the upper edge of the screen and displays information about the device's current state, like the time, cellular carrier, and battery level.
It's possible that your iPhone status bar keeps disappearing because of an issue with the version of iOS running on your iPhone. Software glitches like this are typically fixed in subsequent software updates, so I recommend looking for an iOS update by going to Settings -> General -> Software Update.
Go to info.plist and add two attributes if not present. set "Status bar is initially hidden" to YES
and set UIViewControllerBasedStatusBarAppearance
to NO
. This will hide status bar for your app.
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