To clarify, I'm not trying to do this on my own app, so I don't have access to the source code. I am trying to edit info.plist or any other files in the installed .app file on my device to remove the status bar from an app, namely Google Chrome
I'm trying to hide the statusbar on Google Chrome. I added UIViewControllerBasedStatusBarAppearance = false and UIStatusBarHidden = true to info.plist, but all that got me was a grey bar where the status bar used to be. So close!
Are there any other ways to force hide the status bar in Chrome or any other app on iOS 7?
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:NO];
OR
Or
try
- (BOOL)prefersStatusBarHidden { return YES; } in all of your view controllers.
Try this.
add this key into info.plist file
View controller-based status bar appearance
set value for this to:- No
I added the following to my info.plist:
Status bar is initially hidden with value YES
I also have View controller-based status bar appearance with value NO
Related
Could anyone tell me how to hide StatusBar in the course of launching and show it again after the launching?
Its very simple, set Status bar is initially hidden YES in Info.plist file and also Make sure your not set View controller-based status bar appearance in info.plist file
Set the UIStatusBarHidden to true or false in the info.plist in order to show or hide the status bar when launching.
<key>UIStatusBarHidden</key>
<true/>
set this in your info plist file.
iBooks's status bar
what the picture say, it's my want
How can I set my app's status bar to gray?
I only found the Default and LightContent in the UIStatusBarStyle.
How can iBooks do it?
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleDefault</string>
in info.plist
I have issue with status bar, because it overlay my close button on ads.
I show ads using this method
[splashInterstitial_ loadAndDisplayRequest:[self createRequest]
usingWindow:self.window
initialImage:image];
so then I see next:
as you can see close button conflicts with status bar.
How to remove admob status bar 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
Refer this link
http://www.appcoda.com/customize-navigation-status-bar-ios-7/
http://blog.jaredsinclair.com/post/61507315630/wrestling-with-status-bars-and-navigation-bars-on-ios-7
goto your application-Info.plist and add View controller-based status bar appearance set NO
My question is: How could I disable standard Top bar ( with battery,time info) in ios 6 app ?
i mean exactly that one :
?
that is the status bar. you can hide this by setting property "Status Bar Initially hidden." to "YES" in info.plist file
you can also hide by code,like this
[ UIApplication application setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
In my app I have two file xib FirstViewController.xib, SecondViewCotroller.xib and classic MainWindow.xib; in all I set statusBar at "none"; but when I launch my app I ever see this statusbar, why? where is the problem?
I'm afraid you are setting the Status Bar to "None" under the "Simulated Metrics" section. The settings in this section are there to help you visually design your screens but they have no effect when the application runs.
You can set the status bar as hidden for real in your Info.plist:
<key>UIStatusBarHidden</key>
<true/>
In the XCode interface, this is done via Info.plist --> Add Row --> "Status bar is initially hidden" --> YES.
You can also change the visibility of the status bar in code via the statusBarHidden property and the setStatusBarHidden:withAnimation: method of the UIApplication class.