Status bar won’t disappear
Try adding the following method to your app’s root view controller: – (BOOL)prefersStatusBarHidden { return YES; }
Try adding the following method to your app’s root view controller: – (BOOL)prefersStatusBarHidden { return YES; }
You can change the colour of the statusbar by editing the user settings by adding these lines of code in it: “workbench.colorCustomizations”: { “statusBar.background” : “#1A1A1A”, “statusBar.noFolderBackground” : “#212121”, “statusBar.debuggingBackground”: “#263238” }
You are missing the following property: android:fitsSystemWindows=”true” in the root RelativeLayout of the fragment .xml layout. Update: Last year there was an interesting talk by Chris Bane that explains in good detail how this works:
If you want to change Status Bar Style from the launch screen, You should take this way. Go to Project -> Target, Set Status Bar Style to Light Set View controller-based status bar appearance to NO in Info.plist.
After reading all the suggestions, and trying out a few things, I could get this to work for specific viewcontrollers using the following steps : First Step: Open your info.plist and insert a new key named “View controller-based status bar appearance” to NO Second Step (Just an explanation, no need to implement this): Normally we … Read more
You should add this value to plist: “View controller-based status bar appearance” and set it to “NO“.
All you need to do is set these properties in your theme: <item name=”android:windowTranslucentStatus”>true</item> <item name=”android:windowTranslucentNavigation”>true</item> Your activity / container layout you wish to have a transparent status bar needs this property set: android:fitsSystemWindows=”true” It is generally not possible to perform this for sure on pre-kitkat, looks like you can do it but some strange … Read more
in your apps plist file add a row call it “View controller-based status bar appearance” and set it to NO Note that this simply does not work, if you are using UIImagePickerController in the app. from http://www.openfl.org/developer/forums/general-discussion/iphone-5ios-7-cant-hide-status-bar/, mgiroux’s solution
This is cross-posted from a blog post I wrote, but here is the full rundown on status bars, navigation bars, and container view controllers on iOS 7: There is no way to preserve the iOS 6 style status bar layout. The status bar will always overlap your application on iOS 7 Do not confuse status … Read more
this question was answered before… Height of statusbar? Update:: Current method: ok, the height of the status bar depends on the screen size, for example in a device with 240 X 320 screen size the status bar height is 20px, for a device with 320 X 480 screen size the status bar height is 25px, … Read more