uistatusbar Questions
61
Solved
My application has a dark background, but in iOS 7 the status bar became transparent. So I can't see anything there, only the green battery indicator in the corner. How can I change the status bar ...
Rodman asked 16/7, 2013 at 14:11
16
Solved
In XCode 7.3.x ill changed the background Color for my StatusBar with:
func setStatusBarBackgroundColor(color: UIColor) {
guard let statusBar = UIApplication.sharedApplication().valueForKey("statu...
Frey asked 1/10, 2016 at 2:28
25
Solved
I followed this thread to override -preferredStatusBarStyle, but it isn't called.
Are there any options that I can change to enable it? (I'm using XIBs in my project.)
Shampoo asked 26/9, 2013 at 7:42
19
Solved
In my iPhone application built with Xcode 5 for iOS 7 I set UIViewControllerBasedStatusBarAppearance=YES in info.plist, and in my ViewController I have this code:
-(UIStatusBarStyle) preferredStat...
Microvolt asked 1/10, 2013 at 5:19
2
Problem
I have an app that has different colour navigation bars for different flows. Some navigation bars have a light background and require black status bar text. Others have a darker navigation ...
Strang asked 1/10, 2021 at 11:2
2
Solved
I'm trying to build my app with Xcode 11 beta 6 and iOS 13 beta 8 but it throws this error once it starts to run:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', re...
Tamis asked 5/9, 2019 at 8:34
33
Solved
I'm using Xcode 8.0 beta 4.
In previous version, UIViewController have method to set the status bar style
public func preferredStatusBarStyle() -> UIStatusBarStyle
However, I found it change...
Whitewall asked 3/8, 2016 at 10:12
27
Solved
The first screen of my application is a UITableViewController without a navigation bar, which means that the content flows under the status bar so there's a lot of text collisions. I've adjusted bo...
Urogenital asked 19/9, 2013 at 16:40
2
Solved
I need a transparent status bar as shown in the image below.
I tried this,
UIView *statusBar = [[[UIApplication sharedApplication] valueForKey:@"statusBarWindow"] valueForKey:@"statusBar"];
i...
Tananarive asked 10/8, 2017 at 16:8
5
I want to change the status bar style on a per-ViewController level on iOS 13. So far I didn't have any luck.
I define UIUserInterfaceStyle as Light in info.plist (as I do not want to support dark ...
Edwinedwina asked 22/8, 2019 at 11:51
3
Solved
Since UIApplication.shared.setStatusBarStyle(.default, animated: true) is deprecated from IOS9 is it possible to change status bar style with animation on push? I cannot find any description in doc...
Decapod asked 24/2, 2017 at 16:47
5
Solved
I am trying to change the color of the status bar to like a blue, or some other color.
Is this possible, or does Apple not allow it?
Aric asked 28/3, 2017 at 15:24
2
When my app is started while the user is in a phone call, the whole app is pushed down below the green Phone-call-bar. The root of my app is a UITabViewController and the Tabs now appear partly bel...
Haberdashery asked 3/8, 2017 at 17:7
4
I am displaying a UIWindow over the UIStatusBar, by default the UIStatusBarStyle is set to UIStatusBarStyleLightContent, but when I display the UIWindow the UIStatusBarStyle switches to the black s...
Volscian asked 27/10, 2013 at 10:37
5
Solved
I'm trying to figure out what the loading circle animation in the status bar is. A lot of apps, when they load data, have a spinner in the status bar to indicate that the app is loading data, but I...
Swot asked 17/6, 2012 at 0:53
6
Solved
(iOS 7 Xcode 5.0.2)
I used following methods, successfully change the status bar color to white on root view controller
[self setNeedsStatusBarAppearanceUpdate]; // Update status bar style
-(UIS...
Warga asked 18/1, 2014 at 17:57
11
Solved
I have just migrated from TinyMCE3 to TinyMCE4 and I wonder how to remove the path in the status bar. But I want to keep my status bar in order to have the resize functionnality.
With TinyMCE3 we ...
Deposit asked 19/6, 2013 at 14:15
1
Solved
My application's launch screen has a dark background color, so I'd like to set the status bar color to white while it's showing.
This differs from the question asked in How to change status bar st...
Aprylapse asked 27/12, 2018 at 5:0
1
Solved
info.plist
<key>UIViewControllerBasedStatusBarAppearance</key>
<true/>
UIViewController
override var prefersStatusBarHidden: Bool{
return true
}
when i use 6p ,it's ok
b...
Ellmyer asked 6/6, 2018 at 7:6
7
Solved
Consider a view controller that needs to slide out (or hide) the status bar when a button is clicked.
- (void) buttonClick:(id)sender
{
[[UIApplication sharedApplication] setStatusBarHidden:YES
...
Diggs asked 29/11, 2012 at 11:23
4
Solved
Like Instagram - EXPLORE Tab, when I scroll the content, the status bar moves as well.
Always called FullScreenScroll, like here, when the user scrolls the tableView, the NavigationBar & TabBa...
Attire asked 6/8, 2014 at 12:47
11
Solved
I'm trying to change the Status Bar color in my Swift app to white, but am hitting a brick wall. I have 3 ViewControllers that are each embedded in a NavigationController (could that be the issue? ...
Atonement asked 16/6, 2014 at 0:47
2
I have an existing app, that crashes on launch, when running on iPhone X Simulator. (Breakpoint stops on the main.m files).
The app runs fine on iPhone 8 simulator, so it has something to with iPho...
Setiform asked 21/9, 2017 at 19:29
14
Solved
I'm trying to convert my iOS 7 app to iOS 8 in Xcode 6 GM, and when i run it on the iPhone 5s or lower simulators with iOS 8 everything is fine, but on the iPhone 6 and 6 Plus simulators, the Statu...
Perineum asked 16/9, 2014 at 12:47
6
Solved
I know that are already some stackoverflow questions that say how to change the status bar for all view controllers. I am currently changing the color of status bar this way:
if(IS_IOS7)
[[UIAppl...
Vivienne asked 19/9, 2013 at 14:24
1 Next >
© 2022 - 2024 — McMap. All rights reserved.