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

Set status bar orientation in iOS 6.0

Possible Duplicate: setStatusBarOrientation:animated: not working in iOS 6 In iOS 6.0, as AppDelegate by default extends UIRepsonder and not UIApplication there is no global sharedApplication object. Am I missing anything? I am trying to set…
Paresh Masani
  • 7,474
  • 12
  • 73
  • 139
5
votes
7 answers

UIImagePickerController (sourceTypeCamera) doesn't fill screen on top/status bar

I am calling a UIImagePickerController (sourceTypeCamera) as a modalViewController from my MainViewController. However, the UIImagePickerController doesn't fill the screen on top, as the image attached shows. Any idea what can be causing this, and…
Natan R.
  • 5,141
  • 1
  • 31
  • 48
4
votes
2 answers

Full screen image view while hiding the status bar

I am making a full screen image view that is zoomable and scrollable similar to the one in Twitter for iPhone. I have it almost the same except I cant figure out how to use the real estate under the stats bar. I start with a UINavigationController…
lavoy
  • 1,876
  • 3
  • 21
  • 36
4
votes
2 answers

Add customview in navigation bar like whatsapp

I want to create custom navigation bar like WhatsApp uses to display call indicator in the application as given below. I have successfully added view like above but it's not responsive because I am not able to detect touch on status bar. I can…
Jayeshkumar Sojitra
  • 2,501
  • 4
  • 31
  • 44
4
votes
1 answer

View Debugging: What are the layers of view in any View Controller?

For example, when I add a table view to my view controller what would the view hierarchy be? Is UIWindow always the base View of the hierarchy? In which layer does the Status Bar lie? I mostly write code programmatically, therefore, have some…
Anu Mittal
  • 181
  • 2
  • 9
4
votes
1 answer

How to updated a deprecated statusBarStyle from iOS 9

I'm updating an iOS app for iOS 12 and ran into this warning. I'm changing the status bar in the AppDelegate.swift file for my app. This can be found in the didFinishLaunchingWithOptions function UIApplication.shared.statusBarStyle =…
icekomo
  • 9,328
  • 7
  • 31
  • 59
4
votes
0 answers

View hides behind statusbar when rootcontroller is not set in Appdelegate

In my AppDelegate.swift I check if the user is signed in or not if let currentUser = Auth.auth().currentUser{ self.window?.rootViewController = self.storyboard?.instantiateViewController(withIdentifier: "HomeScreen") }else{ …
Dridia
  • 183
  • 15
4
votes
3 answers

iOS 11 UIWebView pop down by status bar

In iOS 11, UIWebView is pop down by status bar. It may be affected by safe area inset introduced by iOS 11. I try to set the property contentInsetAdjustmentBehavior as below: webView.scrollowView.contentInsetAdjustmentBehavior =…
user5612625
4
votes
3 answers

UIBlurEffect on StatusBar only (not on UINavigationBar)

Similar to this: How to make a Navigation Bar and Status Bar blurred (UIBlurEffect)? iOS, Swift 3 but we'd like to apply the UIBlurEffect on the StatusBar only, not the navigationbar. Is this possible?
Gaurav Sharma
  • 2,680
  • 3
  • 26
  • 36
4
votes
6 answers

Status bar and navigation bar does not seems to have the same color iOS Swift

I want to set the status bar color the same color as the navigation bar. when I try to set the navigation and status bar to the same color the navigation bar always appear in a lighter color than the status bar. This is what I want: My…
Melchior
  • 259
  • 1
  • 5
  • 15
4
votes
2 answers

View doesn't go under status bar and status bar is black

I'm hiding the Navigation Bar on one of the screens, and if is set: navigationController?.navigationBarHidden = true The status bar becomes black. Also, the image doesn't fit all the screen (see the screenshot). If I comment this line, Navigation…
artem
  • 16,382
  • 34
  • 113
  • 189
4
votes
1 answer

Change Background Color Status Bar iOS

So, I'm trying to make this: i tried using UIView in back of Status bar and set the color to orange, but when running, The UIView displayed right under the status bar, so it's still White i'm trying many solution in the internet but none of them…
Ariel Gemilang
  • 796
  • 2
  • 20
  • 42
4
votes
4 answers

Hide UIStatusBar without removing the space allocated for it

I have picture examples to show you what I want and what I have right now. First, here is an example of what I'm trying to do, from the Slack app: The statusbar is normally displayed: But when you open the side drawer, it goes away: I can…
LulzCow
  • 1,199
  • 2
  • 9
  • 21
4
votes
1 answer

How to use modalPresentationCapturesStatusBarAppearance = NO with a custom UIPresentationController?

I have a custom UIPresentationController and overrides frameOfPresentedViewInContainerView for a custom viewController presentation. Everything works fine, except for the status bar. I do not want the status bar to change appearance at all – it…
4
votes
1 answer

Active UISearchBar makes status bar background black

I have a UISearchBar at the top of UITableView which works great. I've been trying to customise its appearance and there is an issue when the search bar is active - it turns the status bar background colour to black. I tried the suggestions in IOS7…
staticnz
  • 491
  • 1
  • 5
  • 15