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
0
votes
1 answer

iOS 8 UINavigationBar overlaps StatusBar

I have a view (contentView) in my MainController, witch contents a view of another UINavigationViewController (mainNavigationController). Perfectly fit screen (see image 1). Then i wrote a function to change view of contentView to view of another…
mazorati
  • 2,031
  • 3
  • 22
  • 22
0
votes
1 answer

Is it possible to control the alpha of status bar on iOS?

It is possible to animate the alpha with a duration like so: [UIView animateWithDuration:0.5 animations:^{ [self.navController setNeedsStatusBarAppearanceUpdate]; }]; But would it be possible through CoreAnimation and UIKit to control the alpha…
hfossli
  • 22,616
  • 10
  • 116
  • 130
0
votes
1 answer

UINavigationBar below StatusBar after Hotspot/Call when using custom transition

I've a strange issue with the NavigationBar behind the Statusbar. It only occurs when the default statusbar changes to an "active" statusbar like the one that appears during an active call or a wifi hotspot. Before the "active" statusbar appears, it…
0
votes
1 answer

How can I change the frame of the status bar?

I've tried using this to get the frame of the status bar: var statusBarWindow = UIApplication.sharedApplication().valueForKey("statusBarWindow") however, when I try to change the frame, it says the value is immutable: statusBarWindow?.frame =…
Jay
  • 2,591
  • 1
  • 16
  • 28
0
votes
1 answer

Why is status bar messed up with translucent navigation bar

I am trying to make my status bar and translucent navigation bar "unified", which is the standard look in iOS 7 and above. However, I've got many navigation controllers, view controllers, and a tab bar controller, a view controller that owns all…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
0
votes
2 answers

change the Status Bar style on button click

I want to add capability for the user to change the System Status bar style from Light to Dark. On app launch the style is Light. I have added the following code on button click: //on button click [self setNeedsStatusBarAppearanceUpdate]; -…
s.d.
  • 363
  • 3
  • 14
0
votes
2 answers

The text in UIStatusBar does not change to white when navigation bar style was UIBarStyleBlack

if the navigation bar style is UIBarStyleDefault, the status bar style will be UIStatusBarStyleDefault; if the navigation bar style is UIBarStyleBlack, the status bar style will be UIStatusBarStyleLightContent. In my project,navigation bar style is…
Rerchard
  • 23
  • 4
0
votes
3 answers

UINavigationBar does not extend behind status bar

I feel like I'm completely overlooking something, since this is so basic. In a completely bare bones setup: window = UIWindow(frame: UIScreen.mainScreen().bounds) window.backgroundColor = UIColor.whiteColor() let rootController =…
Zappel
  • 1,612
  • 1
  • 22
  • 37
0
votes
2 answers

UIStatusBar won't disappear

I've tried to create a class in Swift, which autohides my UIStatusBar and my navigationController after 1 Second. My problem is, that the StatusBar is not going to disappear. This is what I got: override func viewDidLoad() { super.viewDidLoad() …
0
votes
3 answers

iOS 8 make statusbar black and not translucent

So my status bar in my app currently looks like this: And I'd rather it look something like this: 2 http://mojoimage.com/free-image-hosting-12/22iOS7_StatusBar-copy.png So that it's black with white text. At the moment it doesn't work on this…
user1416564
  • 401
  • 5
  • 18
0
votes
2 answers

naviagtionBar height and statusBar height size look like bigger

In the use of the iphone 5, the navigationBar and statusBar normal height, but under the iphone6 or iphone6plus navigationBar and the statusBar height is bigger, not 64, the likelihood is scaling. The problem is that I want iphone6 or iphone6plus to…
lee
  • 13
  • 3
0
votes
1 answer

Switch between UIStatusBar color (black/white) in UINavigationController based app

In my application I am using multiple colors (based on theme) as tint of UINavigationBar for some light and some dark. In iOS7 and up that change status bar color too. For light colors it's fine to use default status bar text color (black) but for…
rptwsthi
  • 10,094
  • 10
  • 68
  • 109
0
votes
0 answers

Maps navigation status bar cuts my app's window from bottom in iOS

I have a app which works well in normal condition. Now, when navigation is turned on in background, the status bar height becomes 40 and my window(View) is cut by 20 pixels from bottom. How to fix it? Here is the image:
Vaibhav Jhaveri
  • 1,579
  • 3
  • 28
  • 53
0
votes
4 answers

Swift: Can't set StatusBarStyleLightContent

This is really weird, I have page view controller with onboarding flow and I cannot set the white color in status bar. I added "Status bar style" with "UIStatusBarStyleLightContent" value in info.plist along with appropriate line in…
theDC
  • 6,364
  • 10
  • 56
  • 98
0
votes
1 answer

Does UIScrollview works correct with UIStatusbar?

my problem is related with UIScrollview. lets describe it, I have signup screen which has a scrollview, initially scrolling is not enabled. when keyboard appears I will enable scrollview and when keyboard hides again I am disabling scrolling. my…
Nasir
  • 1,617
  • 2
  • 19
  • 34