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
1
vote
1 answer
Is it possible to add observer or notification when statusBarOrientation changed?
I have a very tricky code, because sometimes I set a new orientation.
[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationPortrait];
Is it possible to add observer or notification when statusBarOrientation changed? I want to know what is…

Voloda2
- 12,359
- 18
- 80
- 130
1
vote
1 answer
iPhone Status bar disappearing in app using KTPhotoBrowser gallery when moving between KTPhotoScrollViewController and KTThumbsViewController
I'm using the KTPhotoBrowser library to create a photo gallery in my iPhone app. The gallery consists of a thumbnail view (KTThumbsViewController) and a scroll view (KTPhotoScrollViewController) which displays the full size photos like in the…

AndyC
- 115
- 10
0
votes
2 answers
Navigationbar is positioned below the hidden statusbar
coming from a TableView, I am creating an MKMapView. I want to have more screen real estate, so I hide the status bar und set the navigation bar to transluscent.
[[UIApplication sharedApplication] setStatusBarHidden:YES…

brainray
- 12,512
- 11
- 67
- 116
0
votes
3 answers
how can I hide status bar in Android Galaxy tab 10.1?
One of my customer want to run their application on top always, so they want to hide the status bar on galaxy tab 10.1, p7500. is that possible?
Some one has posted some way to Android HoneyComb. we've try it on Galaxy tab 7500, without ROOT…

user1061099
- 1
- 1
- 1
0
votes
0 answers
Why override UIStatusBarStyle is not running?
I try to implement lightcontent and darkcontent for my mobile apps status bar
I put override function in my viewcontroller (Xib)
var statusBarStyle: UIStatusBarStyle = .lightContent
public override var preferredStatusBarStyle:…

lauwis
- 323
- 1
- 4
- 15
0
votes
2 answers
Status bar become black after another ViewController appears
I have issue with Navigation Controller inside TabBarController. I have 5 view controllers and 3 of them have navigation bar. I need to make white status bars of all of this 3 VC. And i can do it with
…

synecdochenoire
- 17
- 7
0
votes
2 answers
Warning message on statusBarStyle on set lightContent
How to resolve this issue warning issue
UIApplication.shared.statusBarStyle = .lightContent
Warning Messages
'statusBarStyle' was deprecated in iOS 13.0: Use the statusBarManager property of the window scene instead.

kiran
- 4,285
- 7
- 53
- 98
0
votes
1 answer
Changing status bar colour in React Native
In React Native, I'm trying to set the status bar to 'light-content' so it is more visible against the darker background. To do so I used , however when I ran the code I got the following error:
RCTStatusBarManager module requires that the …
0
votes
0 answers
status bar color in flutter is uncontrollable
I have tried to use SystemUiOverlayStyle to change the status bar color of my app but it doesn't change anything. I also tried using libraries and AnnotatedReagion widget but it is uncontrollable.
@override
Widget build(BuildContext context) {
…

Hawkar Shwany
- 324
- 3
- 15
0
votes
1 answer
React Native: how do you deal with graphics making time etc at the top of the screen hard to see?
I have the following graphic at the top of the screen in my React Native app:
Obviously the problem is that the time, battery power, etc, are hard to see because the graphic is black. How do people normally deal with this kind of thing? If I made…

gkeenley
- 6,088
- 8
- 54
- 129
0
votes
2 answers
How to show status bar in Swift when someone screen records inside my app?
I have the code below where I am hiding the status bar but I want to be able to show the status bar when the user decides to record the screen. How would I be able to do that?
Edit : I added the isCaptured property in a if statement but
when the…

xcode22
- 118
- 1
- 9
0
votes
1 answer
How to changes status bar colour of second UIWindow?
I have added the second window in my app for presenting the specific controller when user taps the remote push notification.
func navigateThroughPushnotification(controller: UINavigationController) {
let window = UIWindow(frame:…

VIJAY SINGH RAGHAV
- 141
- 1
- 11
0
votes
1 answer
Setting statusBar style does not work Objective-C
I am trying to change my statusbar style (the color of status bar text, more specifically) depending on which viewController is active through this:
self.navigationController.navigationBar.barStyle = UIBarStyleBlack;
But that does not work. Rather,…

Besfort Abazi
- 373
- 3
- 18
0
votes
0 answers
What is this strange white space at the top of my UIViewController when using the Search Controller on my device?
Left side displays my app in the iPhone 7 simulator. Right side is the app as displayed in my device. When tapping in the search bar, the navbar sildes up but then slides back down as showing in the image with the "What is this?" text.
The code for…

GIJoeCodes
- 1,680
- 1
- 25
- 28
0
votes
1 answer
Changing Image Picker Preferred Status Bar Style swift
the status bar style for my application is white except when image picker controller is presented and I have already extend my UINavigationController but it doesn't seem to be working on any view present only on pushed views does anyone have…

Nouf
- 733
- 1
- 11
- 32