Status bars display a collection of status items that provide interaction with or feedback to the user, such as a menu or an image reflecting an application’s state. A system-wide status bar resides at the right side of the menu bar and is the only status bar currently available.
Questions tagged [uistatusbar]
449 questions
7
votes
1 answer
Status bar background disappears while hiding on iOS 11
As of iOS 11, the status bar in my app is misbehaving when I dismiss it. The background of the status bar turns clear while the status bar is being dismissed. It didn't do this in iOS 10.
I've recreated the issue in a very simple application, which…

Chris Vasselli
- 13,064
- 4
- 46
- 49
7
votes
2 answers
UITabBar pushed down below screen when starting app while in a phone call
When my app is started while the user is in a phone call, the whole app is pushed down below the green Phone-call-bar. The root of my app is a UITabViewController and the Tabs now appear partly below the Screen. The worst part of it is that after…

Joakim
- 3,224
- 3
- 29
- 53
7
votes
2 answers
How to create a "return to app" status bar when app goes to the background?
When my app moves to the background while either playing audio or recording audio, I would like to provide something like the the green "In Call" status bar that appears when you are in a call and swap out to another app, giving you a quick "return…

Eric
- 3,865
- 4
- 32
- 44
7
votes
2 answers
autoresize of uiview
I have a UIView in a UITabController.
And there is a UITableView in it.
When toggling in call status bar it doesn't do anything and the view is not automatically resized.
It assumes the right size based on whether the in call UIStatusBar was toggled…

msaspence
- 1,424
- 2
- 14
- 25
7
votes
2 answers
StatusBar in searchController and searchResultsController problems : iOS 8
Hi, here is my problem:
In my AppDeleagate's didFinishLaunchingWithOptions: method i have a method [self configureUINavigationControllerStlyle]; which configures the status bar and all the navigation bar appearance of my app (I have…

Adelmaer
- 2,209
- 3
- 22
- 45
7
votes
5 answers
iOS 7 StatusBar issue when I am using UIImagePickerController Allow editing
I study related iOS 7 status-Bar Maintain, but am I facing an issue while I am using UIImagePickerController. Allow editing that Editing Window shows 20 pixels space at the top bar.
I used the code and first I set…

Nitin Gohel
- 49,482
- 17
- 105
- 144
6
votes
2 answers
How to get a transparent status bar like the image shown below?
I need a transparent status bar as shown in the image below.
I tried this,
UIView *statusBar = [[[UIApplication sharedApplication] valueForKey:@"statusBarWindow"] valueForKey:@"statusBar"];
if ([statusBar…

iOS Nepal
- 103
- 1
- 10
6
votes
1 answer
preferredStatusBarUpdateAnimation being ignored
I have AuthViewController that is presenting MainViewController like so:
let mainVC = MainViewContoller()
mainVC.modalTransitionStyle = .CrossDissolve
authVC.presentViewController(mainVC, animated: true, completion: nil)
I want the…

Cody Winton
- 2,989
- 5
- 25
- 48
6
votes
2 answers
Status bar hiding when landscape-only view controller is presented over portrait-only view controller
I have a navigation controller holding a view controller that only supports the portrait orientation:
This presents a full-screen view controller that only supports landscape:
Unfortunately during the transition, the status bar on the presenting…

jrturton
- 118,105
- 32
- 252
- 268
6
votes
1 answer
Window with UIWindowLevelStatusBar + 1 hides status bar on iOS 8
I have been adding a console window on top of the status bar:
This has been working great by setting its windowLevel to UIWindowLevelStatusBar + 1 up to iOS 7.x (screenshot).
On iOS 8 the same code makes the status bar disappear and offsets…

Rivera
- 10,792
- 3
- 58
- 102
6
votes
1 answer
UIViewControllerAnimatedTransitioning with UIStatusBarAnimation
i implemented the method in ViewController A
- (BOOL)prefersStatusBarHidden {
return NO;
}
i implemented the method in ViewController B
- (BOOL)prefersStatusBarHidden {
return YES;
}
- (UIStatusBarAnimation)preferredStatusBarUpdateAnimation…

matadorx12
- 63
- 5
6
votes
2 answers
UIStatusBar Appearance with Multiple Windows
First, my app's setup:
Most of the app's view controllers exist in your standard navigation controller hierarchy, but I also have a second window over the main app window, which hosts a view controller (NotificationVC). If NotificationVC is…

Austin
- 5,625
- 1
- 29
- 43
6
votes
2 answers
How to change UIViewControllerBasedStatusBarAppearance to YES/NO programmatically in iOS 7?
My application has a dark background, but in iOS 7 the status bar became transparent. So I can't see anything there, only green battery indicator in the corner. How can I change the status bar text color to Green or Orange like it is on the home…

kagmanoj
- 5,038
- 5
- 19
- 21
6
votes
3 answers
UIToolbar goes under status bar in iOS7
I have a UIView and I have a UIToolbar and UIWebView.
I want to show toolbar at top of UIView and after that the rest of page covered with webView.
But toolbar goes under status bar like this
How can I correct it in iOS7.

aakpro
- 1,538
- 2
- 19
- 53
6
votes
3 answers
UIStatusBar as in Facebook new iOS7 application
I have an app with side bar menu, kinda like Facebook side bar menu. I'm using this class called SWRevealViewController and it's working great. Now since iOS7 has came out, I just can't figure out how to adjust my Status and Navigation Bar to be…

ytpm
- 4,962
- 6
- 56
- 113