Questions tagged [uistatusbar]

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.

449 questions
2
votes
2 answers

UIStatusBar in iOS7 change color

I'm using a UINavigationController for rootViewController, I make the navigationBar to transparent [self.view setBackgroundColor:[UIColor greenColor]]; self.navigationController.navigationBar.shadowImage = [UIImage…
Js Lim
  • 3,625
  • 6
  • 42
  • 80
2
votes
1 answer

status bar becomes gradient after closing video in landscape mode

Below is happening with iOS 6. I am playing video which can be played in potrait or landscape mode. Once video's Done button is pressed I am making screen to potrait mode programmatically. The problem is when I open app, I have black status…
Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276
2
votes
4 answers

UIStatusBar setTranslucent:NO avoid moving content down

I am trying to get my UINavigationBar and UIStatusBar to be opaque and have no translucency properties whatsoever. I tried using [[UINavigationBar appearance] setTranslucent:NO]; but that moves the view content down a few pixels. I want that content…
Rameez Hussain
  • 6,414
  • 10
  • 56
  • 85
2
votes
2 answers

iOS7 Navigation Bar Glitch On App Open and Close

I've noticed some interesting behavior with an app in iOS7. The navbar normally has the following color: On all real devices, when the app is backgrounded or opened up, the navbar is temporarily covered with a black almost gradient mask that looks…
Mike
  • 9,765
  • 5
  • 34
  • 59
2
votes
1 answer

Disable UINavigationBar Animation when StatusBar is hidden/shown

When the status bar is hidden or shown on a navigation controller in iOS 7, the navigationBar will move up or down. How can I get it so that the navigationBar height = it's height + the status bar offset at all times? Tinder is a good example of an…
barndog
  • 6,975
  • 8
  • 53
  • 105
2
votes
4 answers

How to cover also the UIStatusBar with UIView when i cover all the screen with the UIView? (iPhone)

How to cover also the UIStatusBar with UIView when i cover all the screen with the UIView?
Shay
  • 2,595
  • 3
  • 25
  • 35
2
votes
1 answer

iOS 7 status bar white and empty

I'm building an iPhone app with Storyboards. But for a couple of special view controllers, I'm using just program code (which is the way I'm used to doing most of my work). For some reason, the status bar is coming up white and empty. I want do set…
Casey Perkins
  • 1,853
  • 2
  • 23
  • 41
2
votes
0 answers

Programmatic access to the iOS status bar?

I'm trying to reproduce something that an iPad app called Mailbox is doing. The app is somehow able to control the status bar in ways I can't figure out. The follow picture shows an app state where the main screen panel is shifted to the right, and…
MusiGenesis
  • 74,184
  • 40
  • 190
  • 334
2
votes
0 answers

Status Bar in IOS 7

So it's well known that the UIViewController view goes under the status bar. My GUI is developed entirely programmatically, so none of the posts that I found on SO solved the problem for me. In particular, if ([self…
Sam
  • 151
  • 8
2
votes
1 answer

Allow single swipe to show notification and control center, even when hiding iOS7 status bar

If status bar is hidden on iOS7, it forces the user to swipe twice to show both Notification Center and Control Center. It shows a small drag-button. Is there a way to disable this behavior i.e. status bar is hidden, but just single swipe from top…
tobiasdm
  • 9,688
  • 1
  • 18
  • 15
2
votes
1 answer

UIStatusBar changes style for no apparent reason

I have an app in which I set the UIStatusBarStyle to UIStatusBarStyleLightContent and it works perfectly fine for a while. Then, as suddenly than unexpectedly, it changes to UIStatusBarStyleDefault for no apparent reason. View controller-based…
user2006934
  • 171
  • 3
  • 11
2
votes
3 answers

Status Bar Issue on iOS 7

I have noticed a few problems with the status bar when upgrading my apps to iOS 7 as the base SDK. Basically, the Navigation Bar in my Tab Bar Controller seems to be far too close to the status bar. Any ways to remedy this and make it look better?
user717452
  • 33
  • 14
  • 73
  • 149
2
votes
2 answers

UINavigationController with UIStatusBar and without UIStatusBar on iOS 7

Is it possible programatically switch UIStatusBar background form transparent to UINavigationController's UINavigationBar tintColor and back on iOS 7?
rowwingman
  • 5,589
  • 7
  • 33
  • 50
2
votes
1 answer

Modal view controller works on iOS 7, leaves a gap on iOS 6

So I have this custom UIViewController subclass, that I present modally with -presentViewController:animated: (NOT pushing it onto a navigation stack). I'm trying to make it play nicely with both iOS 6 and iOS 7. Said VC is built in a .xib file (no…
randallmeadows
  • 833
  • 1
  • 10
  • 19
2
votes
2 answers

How to execute a block of code in IOS7 not in IOS6?

Hi In past I had developed one application which supports IOS6.Now the time came to support the same app for IOS7 also. For supporting the app for IOS6 & IOS7 I increased the Y value of each and every component by 20 pixels. Here I am getting the OS…
Naresh
  • 363
  • 1
  • 18