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
votes
2 answers
How to change Status bar color with Event
I know change status bar color with under the code.
override var preferredStatusBarStyle : UIStatusBarStyle {
return .default // or.lightContent
}
But for example, if I use this code with IBAction, how can write the right code?

Scott
- 137
- 2
- 12
-1
votes
1 answer
Animate UIStatusBar ios9+ (swift)
I'm trying to animate the status bar based on the scroll direction of my scroll view. Currently, I am able to hide the status bar, however I can't get the change to animate.
I thought there was a method that did handled this, considering one…

Stefan
- 908
- 1
- 11
- 33
-1
votes
2 answers
How to change UIStatusBarStyle from .lightContent to .default after scrolling starts in a table view?
I am trying to change the preferredStatusBarStyle of a table view controller from .lightContent to .default when scrolling starts?
Here is the initial state :
And this is the final state :
I am relatively new to iOS development. Please provide…

Sanket Ray
- 1,071
- 1
- 15
- 24
-1
votes
1 answer
Adding background to status bar swift
I want to be able to add a small view behind the status bar or set the backgroundColor of the status bar. I have seen it in a couple of apps.
How do you add a backgroundColor to the status bar in swift?

FeReTu
- 125
- 2
- 11
-1
votes
1 answer
How to change Ios Simulator Network symbol and Time and Charger indicator colors
Hi i am new for ios and in my viewController i have hidden NavigationBar
here i want to change simulator Network symbol and Time and Charger indicator colors in my app
please help how can we do this
i tried some code but not working
code:-
-…

AbhiRam
- 2,033
- 7
- 41
- 94
-1
votes
1 answer
UIStatusBar become red after using AVAssetExportSession for UIImagePickerController media conversion
I am converting the .MOV video i get from UIImagePickerController to the .mp4 format using AVAssetExportSession. Once the conversion is completed I send the data to a server. Everything works fine, except the status bar become red and pulsing after…

Lolloz89
- 2,809
- 2
- 26
- 41
-1
votes
2 answers
unable to solve ios7 status bar issue
Before io7 my view show perfect result to me just like
but in ios7 status bar overlap to my view content like this
before i go through googling i found one solution that sat delta property of the view in Xcode 5.
i completed that. but still same…

Jignesh B
- 490
- 7
- 18
-1
votes
1 answer
UIImage View over navBar and statusBar
i wanted to ask you if it is possible to overlay an image to a navigation bar and statusBar just to obscure them as the twitter integration form does... Can someone help me?

Giovanni Filaferro
- 67
- 1
- 1
- 6
-2
votes
2 answers
Strange behaviour in object-c IOS 8 on method calling
I have a view controller where
- (BOOL)prefersStatusBarHidden {
return YES;
}
is getting called before
- (void)viewDidLoad
{
[super viewDidLoad];
}
I am another view controller where the viewDidLoad is getting called first and then the…

Dave
- 494
- 6
- 21
-2
votes
1 answer
ios status bar is about three times larger than ordinary one
I have to modify an ios app and the problem is that status bar(the bar with wifi icon and time things on top) is so big like three times larger than ordinary statusbar.
I'm doing nothing with statusbar in code .
...How can i fix this?

user3535331
- 11
- 1
-2
votes
1 answer
How to get NSString "No Service" in status bar iphone
I have problem with detect sim, i was used CTCarry but not dectect when device "No Service" , Please help me how to detect it.

vualoaithu
- 936
- 10
- 9
-3
votes
2 answers
preferredStatusBarStyle .lightContent doesn't work with Navigation Controller
preferredStatusBarStyle .lightContent doesn't work with Navigation Controller. I have tried this method below
override var preferredStatusBarStyle: UIStatusBarStyle { return .lightContent }
This is my first time to face this kind of issue. This…

Swift
- 37
- 1
- 9
-3
votes
2 answers
How can I give textcolor in status bar?
Text color of the wordings in status bar cannot be changed. Status Bar background color is able to change. How can I change the text color in that?
-5
votes
1 answer
StatusBar bug in iOS7?
I have been stumpted by the fact that apple is making the StatusBar Overlay the viewController...or the bounds of my application. Is there a way i can move the TitleBar down in the StoryBoard? or do i have to guess where to place it? I am confused…

Hunter Mitchell
- 7,063
- 18
- 69
- 116