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
0 answers

Unable to set status bar background color and text color when using MFMailComposeViewController and UIActivityViewController in Xamarin.iOS

In my current application I'm using a green color for my navigation bar and a darker green for the status bar with white text. But currently it is showing the same color for both navigation bar and status bar with white text which is still ok but…
0
votes
0 answers

Custom background color for status bar in iOS app written in Swift

I already asked this question but no answer helped my. So I'm trying it again: I want to have a custom background color (e.g. red) for the status bar in all my ViewControllers. The ViewControllers are managed by a TabBarController. Status Bar (and…
user6423177
0
votes
1 answer

UINavigationBar moves under status bar when using swipe back gesture from status bar hidden viewController

The problem is simple, the Profile viewController has a NavigationBar just under the status bar. I push another viewController on top of the current one. This new viewController hides the status bar. When I go back USING A SWIPE BACK GESTURE to the…
Mikael
  • 2,355
  • 1
  • 21
  • 45
0
votes
3 answers

How to make status bar transparent when using UISearchController

I was creating my own custom UISearchBar and UISearchController, following this tutorial and I wanted to add my own background using searchBar.setBackgroundImage() but the problem is that the image doesn't span the status bar as well. So I get a…
JoeVictor
  • 1,806
  • 1
  • 17
  • 38
0
votes
3 answers

UINavigationBar moving under status bar when another viewController hides status bar

The problem is simple, the Profile viewController has a NavigationBar just under the status bar. I push another viewController on top of the current one. This new viewController hides the status bar. When I go back to the Profile viewController, the…
Mikael
  • 2,355
  • 1
  • 21
  • 45
0
votes
1 answer

Why is the topLayoutGuide length different on iPhone and iPad?

On an iPad, my view controller (inside a navigation controller, as the detail view of a split view controller) has a topLayoutGuide length of 64 with the navigation bar shown and 20 with the navigation bar hidden. This makes sense. On an iPhone in…
0
votes
2 answers

Hiding iOS Status Bar's Text

This question is not about hiding the status bar, but merely hiding the text of the status bar. I could nt find it anywhere to approach this problem UBER app does this, when we open the side menu in uber, the status bar text disappear,
JayVDiyk
  • 4,277
  • 22
  • 70
  • 135
0
votes
1 answer

Get height of status bar before it shows?

There is a view in my app where the status bar can be shown or hidden on demand and the transition is animated. When the extended status bar is active, it pushes my view 20pt down and offscreen. To fix this, I need to detect the height of the status…
Cbas
  • 6,003
  • 11
  • 56
  • 87
0
votes
1 answer

Status Bar White Opaque on Launch

My initial view controller is a navigation controller and its root view controller is a UIViewController which conforms to the UIPageViewControllerDataSource protocol. The content for my pages are three unique view controllers which have both a…
0
votes
2 answers

Changing status bar style after viewDidLoad in iOS

So I know that in my ViewController.m I can override my -(UIStatusBarStyle) preferredStatusBarStyle method to change the return of the preferredStatusBarStyle. But here's the thing: I have a property @property UIStatusBarStyle…
Allen
  • 189
  • 2
  • 11
0
votes
4 answers

MPMoviePlayerViewController Status bar not hiding

hello i am working on a App which play video in an Application and i have used following code - MPMoviePlayerViewController *theMovie= [[MPMoviePlayerViewController alloc] initWithContentURL:…
0
votes
2 answers

Swift how to change the background color of status bar lise navigation bar for a view, not all view

I added a navigation bar in a view, but the background color of status bar is not the same with my navigation bar. like this: I searched informations on internet, I can find how to change the color of status bar, but I can not find how to change…
user2262304
  • 329
  • 1
  • 3
  • 10
0
votes
0 answers

Trying to determine if IOS StatusBar is displayed in landscape

I am trying to determine if the StatusBar is being displayed when my iDevice is in landscape. I have overridden viewWillTransitionToSize so that I can recalculate the view layout, but cannot find any property to show StatusBar…
IanH
  • 1
  • 1
0
votes
1 answer

Translucent status bar overlapping UITableView content

So, my search bar looks like this and it is invoked via a UISearchController. It's all working fine except for one thing. Scrolling down the search list will show the results under the status bar as it is transparent, like this I've used a couple…
Percolator
  • 513
  • 5
  • 25
0
votes
1 answer

UIStatusBar Transition Animation -- Change Alpha Only

I am trying to have the UIStatusBar fade out during a transition, and fade back in on completion. (This is purely stylistic - I have a transition that comes from the top and to me at least, going under the UIStatusBar is jarring looking) Is there a…
solenoid
  • 954
  • 1
  • 9
  • 20