How to move the top panel in ios app - ios

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

Related

Status Bar Text Color on iPhone XR is different

Already checked answers from StackOverflow to change status bar color for the whole app is to set View controller-based status bar appearance in info.plist to NO and Status bar style to UIStatusBarStyleLightContent.
Well it did change from iPhone XS and lower, but iPhone XR and iPhone XS Max were not, Still solid black. I tried to find in code if there is a code that called UIStatusBarStyleDefault but I dont see it anywhere. My current fix now is to put this [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; on didFinishLaunchingWithOptions. Any thoughts? Thanks
In iOS 12, setting NO at View controller-based status bar appearance in Info.plist won't work anymore; you must set it to YES. Your workaround is the recommended way to do so.
Reference: https://stackoverflow.com/a/52443917/188331

Status Bar Hidden in Storyboard

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.

Status bar has disappeared in apps (Xcode iphone)

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.

How to set status bar hidden for entire app in iOS?

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.

MVYSideMenu IN iOS 7 hides status bar

I am using MVYSideMenu in my application. It is working really good, the problem is that in iOS7 when the menu is open, the status bar is mixed with the menu. I have solved this by setting the TableView y position 20 pt down, but this solution is not the best, because in iOS 6 it is different. I am new in iOS and even more in iOS 7.
You can hide the status bar setting UIViewControllerBasedStatusBarAppearance to NO in Info.plist

Resources