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
29
votes
4 answers

How to show an icon in the status bar when application is running, including in the background?

I want to put an icon in the status bar when ever my application is running, including when it is running in the background. How can I do this?
NullPointerException
  • 36,107
  • 79
  • 222
  • 382
27
votes
11 answers

Remove path in status bar in TinyMCE4

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 can do it with: tinymce.init({ ... …
ChibiTomo
  • 484
  • 1
  • 6
  • 15
24
votes
6 answers

Can't get scrollsToTop working on iOS7

I'm targeting iOS7 in my latest app, and tapping on the status bar doesn't seem to scroll a tableView or collectionView to the top. I've set self.tableView.scrollsToTop = true and still nothing happens. I know Apple significantly changed the status…
djibouti33
  • 12,102
  • 9
  • 83
  • 116
22
votes
5 answers

iOS 13 status bar style

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 mode) and set…
Micky
  • 5,578
  • 7
  • 31
  • 55
21
votes
2 answers

Is there a way to hide "Back to Safari" from status bar in iOS9?

How to hide this < Back to Safari from status bar programmatically? I'm getting it in my app – as I'm going out from my app if a user wants to login with their Facebook account. Here's the scenario for which I don't like (want) "Back to Safari" in…
Hemang
  • 26,840
  • 19
  • 119
  • 186
21
votes
4 answers

UIStatusBarStyle changes after displaying a UIWindow over UIStatusBar

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 style.
David Gölzhäuser
  • 3,525
  • 8
  • 50
  • 98
18
votes
6 answers

UISearchBar overlaps status bar in iOS

I (just like everyone else here) am running into the same Status Bar overlap issue that everyone else is, with a little twist, and that is why I opening a new question about this. There seems to be some mechanism that lets the UISearchBar know…
Fotis Paraskevopoulos
  • 1,001
  • 2
  • 12
  • 19
15
votes
8 answers

Change the status bar background color color past iOS 7

I want to change background color of status bar on iOS 7, and I'm using this code: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [UIApplication sharedApplication].statusBarHidden =…
Krunal
  • 6,440
  • 21
  • 91
  • 155
15
votes
3 answers

Auto Layout and in-call status bar

I'd like to ask about Auto Layout and in-call status bar. Here's a simple scenario that demonstrates my problem: Create project with "Use Storyboards" enabled Add "View Controller" and enable its "Is Initial View Controller" Set background color of…
Rudolf Adamkovič
  • 31,030
  • 13
  • 103
  • 118
14
votes
2 answers

App called -statusBar or -statusBarWindow on UIApplication

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', reason: 'App called -statusBar or -statusBarWindow on…
Lukas Würzburger
  • 6,543
  • 7
  • 41
  • 75
13
votes
1 answer

How to set launch screen status bar color to white?

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 style - iOS 12. That solution works for me for view…
escouten
  • 2,883
  • 2
  • 21
  • 23
12
votes
5 answers

Changing the Color of the Status Bar

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?
Tyler Rutt
  • 567
  • 2
  • 8
  • 24
12
votes
5 answers

iOS 7 - Hide status bar on certain view

This is a rather unique question. I have searched for hours and could not find the answer. I want ALL UIViewControllers in my app to have the UIStatusBar visible. But on a certain UIViewController, when you tap a UIButton, the following method calls…
Josue Espinosa
  • 5,009
  • 16
  • 47
  • 81
11
votes
2 answers

iOS: Specify status bar text color when using UINavigationBarAppearance now barstyle is ignored

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 bar and require white status bar text. As part of…
bencallis
  • 3,478
  • 4
  • 32
  • 58
11
votes
4 answers

UIStatusBar appear in black in UITabBarViewController ios11

The issue is simple : The Application is based on UITabBarViewController 3 Tabs in the controllers TabBar Views are configured in viewDidLoad for the UITabBarViewController On launch, the UIStatusBar appear in Black background color Changing…
OXXY
  • 1,047
  • 2
  • 18
  • 43
1
2
3
29 30