My current application supports only landscape mode. I'm presenting the menu when the user hits the bar button item on the top part right under the status bar. Recently, I checked my application in iPhone 6 Plus simulator, status bar is not shown in my application as it supports only landscape mode. In landscape mode, my menu is hanging on the left side of the device instead of sticking to the top. Is this happening because of the status bar missing ? I want to show the status bar in the application as well as fix the menu hanging on the left side. Help me out!
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.
If you see blue, green, red, or purple in the status barYour iPhone is using Screen Mirroring, or an app is actively using your location. Your iPhone is either recording sound or your screen. Your iPhone is using SharePlay to share content.
By default Status Bar height in iOS is 20 pt .
I added the following lines in the ViewWillAppear method which fixed the Status bar missing issue.
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationNone];
[self setNeedsStatusBarAppearanceUpdate];
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