uistatusbar
Loading Indicator in Status Bar iOS
I think what you are looking for is: [UIApplication sharedApplication].networkActivityIndicatorVisible = YES; Swift 3 UIApplication.shared.isNetworkActivityIndicatorVisible = true as doc’d here: https://developer.apple.com/documentation/uikit/uiapplication/1623102-isnetworkactivityindicatorvisibl
IOS7 Status bar hide/show on select controllers
The plist setting “View controller-based status bar appearance” only controls if a per-controller based setting should be applied on iOS 7. If you set this plist option to NO, you have to manually enable and disable the status bar like (as it was until iOS 6): [[UIApplication sharedApplication] setStatusBarHidden:YES] If you set this plist option … Read more
Status Bar showing black text, only on iPhone 6 iOS 8 simulator
So here is how I fixed it In PLIST View Controller Based Status Bar NO Status Bar Style UIStatusBarStyleLightContent In AppDelegate DidFinishLaunching [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent; [self.window setBackgroundColor:[UIColor whiteColor]]; In Each View Controller – (UIStatusBarStyle) preferredStatusBarStyle { return UIStatusBarStyleLightContent; }
UINavigationBar/Status Bar issue in IOS7
Did you try Apple recommendation about “Preventing the Status Bar from Covering Your Views”: https://developer.apple.com/library/content/qa/qa1797/_index.html And did you have a look at “UIBarPositioningDelegate”: https://developer.apple.com/documentation/uikit/uibarpositioningdelegate
Change Status Bar Background Color in Swift 3
extension UIApplication { var statusBarView: UIView? { if responds(to: Selector((“statusBar”))) { return value(forKey: “statusBar”) as? UIView } return nil } } UIApplication.shared.statusBarView?.backgroundColor = .red Update for iOS 13 App called -statusBar or -statusBarWindow on UIApplication: this code must be changed as there’s no longer a status bar or status bar window. Use the statusBarManager object … Read more
UIStatusBarStyle not working in Swift
You have two options. If you want to continue manually setting the style of the status bar, continue doing what you’re doing, but you’ll need to add the following key to your info.plist file with a value of NO. View controller-based status bar appearance Or, if you want to continue to use view controller based … Read more
Changing the status bar text color in splash screen iOS 7
In the project plist file add the “Status Bar Style” property (key is UIStatusBarStyle). Then ignore all the possible values listed in the drop down for this property and type UIStatusBarStyleLightContent instead. And you don’t have to set UIViewControllerBasedStatusBarAppearanceto NOin your plist, you can set the preferredStatusBarStyle you want to your view controllers.
How to prevent UINavigationBar from covering top of view in iOS 7?
Set the navigation bar’s translucent property to NO: self.navigationController.navigationBar.translucent = NO; This will fix the view from being framed underneath the navigation bar and status bar. If you have to show and hide the navigation bar, then use if ([self respondsToSelector:@selector(edgesForExtendedLayout)]) self.edgesForExtendedLayout = UIRectEdgeNone; // iOS 7 specific in your viewDidLoad method.