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
0
votes
4 answers
uitextfield selected changes status bar color
I can't find what is wrong with UITextField (or UIStatusBar).
In my
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
I have:
[[UIApplication sharedApplication]…

Lukas
- 2,515
- 4
- 28
- 37
0
votes
2 answers
Setting the same background colour on UIStatusBar as UINavigationBar
I am looking to set a background colour on the UIStatusBar in my app and I want it to match the background colour of the UINavigationBar, same as the Facebook and Instagram apps.
I tried adding this function to the didFinishLaunchingWithOptions…

Rameez Hussain
- 6,414
- 10
- 56
- 85
0
votes
2 answers
self.wantsFullScreenLayout is not working on some VC
I am developing in Xcode 5, and issue happens only in iOS versions below iOS 7. I have to keep status bar visible. I am using
self.wantsFullScreenLayout= YES;
But my view is still appearing beneath the status bar.
How can i fix this so the view…
user2210755
0
votes
2 answers
Edit StatusBar's frame
I would like to access the StatusBar's frame and change it(to have more space to display another control in the horizontal way since the space on the Navigation Bar on the iPhone is pretty limited).
Is this possible through some kind of manipulation…

user2456014
- 355
- 1
- 4
- 13
0
votes
1 answer
Change Label color of status bar in ios
In iPhone we have a UIStatusBar which shows the time. Does anybody know how I can change its textcolor?
Below is the code changing style, but can we change THE label's color?
[[UIApplication sharedApplication]
…

user2902101
- 493
- 1
- 9
- 17
0
votes
1 answer
iOS6 hidden status bar
In XCode 5 if I check Status Bar: Hide during application launch in project target settings.
In iOS7 the application works as expected, after launch the app has status bar visible
However in iOS6 is the status bar hidden after app launch
Any…

Vojtech Vrbka
- 5,342
- 6
- 44
- 63
0
votes
0 answers
Display network connection status in UIStatusBar
I have an app which completely depends on connection to the internet. At the moment, I use an UIAlertView to notify the user whether the device is connected to the Internet or not. I feel this is too ugly and intrusive. I would like to set up a…

Rameez Hussain
- 6,414
- 10
- 56
- 85
0
votes
1 answer
statusBarHidden:YES; But the empty/ clear space is still there?
I have hidden the status bar in my app by using:
[[UIApplication sharedApplication] setStatusBarHidden:YES];
But for some reason when the view is initially loaded, I get the view with the disabled status bar, but the space for the bar is still…

vzm
- 2,440
- 6
- 28
- 47
0
votes
1 answer
Stop UIStatusbar interaction
I have a UITableView that scrolls to the top when UIStatusBar is touched by the user.
I would like to know how to turn this feature on and off. The reason being is that I have a UIView that pops up in relation to the current selected…

HurkNburkS
- 5,492
- 19
- 100
- 183
0
votes
1 answer
UIPopoverController should prevent scrolling via status bar
I've found that when presenting a UIPopoverController not all controls in the presenting view are disabled. Specifically, the navbar buttons (e.g. 'back') remain selectable. This is a defect in my opinion - it allows the popover to remain on screen,…

Ben Packard
- 26,102
- 25
- 102
- 183
0
votes
1 answer
AVAudioRecorder show Statusbar in iOS7
I have a boolean with an option to show/hide the status bar in an app
- (BOOL)prefersStatusBarHidden
{
return ![[NSUserDefaults standardUserDefaults] boolForKey:@"showStatus"];
}
- (UIStatusBarStyle)preferredStatusBarStyle
{
return…
user1620350
0
votes
1 answer
UINavigationBar Appears Under UIStatusBar
UINavigationBar Appears Under UIStatusBar in iOS 6(It runs properly in iOS 7), I am using storyboard with Xocde 5,
:
Here is my code snippet,
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary…

Krunal
- 6,440
- 21
- 91
- 155
0
votes
0 answers
IOS7 statusbar difference between simulator and iphone
I have created a custom white image ( 640 x 128 pixel ) and set it as background for the navigation bar using:
[[UINavigationBar appearance] setBackgroundColor:[UIColor whiteColor]];
UIImage* navBarBackgroundImage = [UIImage…

Mark84
- 1
0
votes
1 answer
StatusBar colour never changes when using NavigationBars on iOS 7
I am trying to change the app StatusBar colour and it works ONLY when my XIB has no navigationBars. To do so, I added the following function to my source file:
-(UIStatusBarStyle)preferredStatusBarStyle{
return…

marcelosalloum
- 3,481
- 4
- 39
- 63
0
votes
2 answers
How to change the color of the status bar?
I have a quick question for you.
Is it posible to change the color of the status bar in iOS 7 (Like Facebook app)
And is it also possible to increase the transparency of the status bar ?
Thank you in advance,
Davy

dave
- 1
- 2