Xcode won't display the status bar, how can I fix it ?
Thats what I Have :
I believe that your status bar style may be set to light.
You can update it to default (black) in the General configuration of your target in the section Deployment.
Deployment section of configuration
If you are using Xcode9 than status bar is not showing in Storyboard but when you run application it will show in simulator.
The Xcode9 storyboard doesn't show status bar but try running the app in simulator i believe u will get status bar.
Related
My app is developed when iOS version was 6.
Recently I want to renew my app, but status bar looks strange.
I do not code so unique codes in my project, so I wonder why
battery image is shown but percentage or time clock is not shown.
(application is only run on iPad, not on iPhone)
I heard UISplitViewController is much changed after iOS8, so
maybe it is a reason.
(My app based on Master-Detail template in Xcode)
So, if anyone had a same problem and had fixed it,
tell me the reason and solution plz ?
Thanks
You can try following suggestions :
Configure your .plist file like this ,
View controller-based status bar appearance : NO
For each view controller change the status bar's Simulated Metrics property, in storyboard, from "inferred" to "Light Content"
And also go through this.
Hi i have recently updated Xcode to the latest version and my iPhone software is up to date.
However when i test any of the apps i have built the status bar does not appear (e.g. carrier - time - battery status)
Just wondering if there is a way in settings to turn this back on?
well I try hide the status bar in all my app and in the "app"-info.plist and I add two rows in the dictionary "Information Property List" I add "View controller-based status bar appearance" set YEs and in "Status bar is initially hidden"set NO and for me works n_n'
In this screen short "View controller-based status bar appearance" is NO make it YES.
My app top bar very stretched on iPhone and and closes the status bar. How to fix it? On iPhone simulator there is no such it
in info.plist add View controller-based status bar appearance property and set NO
in project General settings set status bar hide during application launch
At Project General setting, you just check it
I am using Xcode 5.1.1, Deployment to SDK 7.1. For some reason when I add a Tab Bar Controller, the Items in the bottom does not show up, all bottom bar is gray, the View Controllers associated has the same gray bar, and do not show the items. When I run the simulator the Items Bar is normal. Already tried to change to global tint, re-start Xcode, new project and still the same.
I really appreciate any suggestion.
I had this problem before and after search found it is a bug in Xcode 5. After I reinstall Xcode the problem did not occur anymore.
I am trying to set the status bar of my entire iOS app hidden. (The app deployment target is set to iOS 7.1).
I have tried the following (and none worked):
Adding this line to application:didFinishLaunchingWithOptions: in AppDelegate.m :
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
and also this line:
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:NO];
I have tried setting the statusBar to None for each of my View Controllers in Storyboard View --> Attributes inspector --> Simulated Metrics.
I have tried adding the key Status bar is initially hidden as YES in Info.plist file of my app.
None of these worked. Can anyone guide me as to what is wrong?
Btw, I am using the latest version of XCode on my Mac and latest iOS on my test device. And, all my View Controllers have been set to Landscape mode only in Attributes inspector. And the supported orientations of the app are Landscape both sides.
Just set both properties in your .plist file.Then you will be good to go.
1.View controller-based status bar appearance -No
2.Status bar is initially hidden-YES
Hope this will help!
Have you tried setting:
View controller-based status bar appearance
to NO
In your Info.plist file?
In your info.plist file, there's a setting called "Status bar is initially hidden." Set that to "YES," and you won't have it at startup. Then you don't need to do anything in your code, the bar will show up when your app is launched.