Questions regarding The status bar on iOS 7 devices which overlays the web view
Questions tagged [ios7-statusbar]
82 questions
108
votes
13 answers
How to set iOS status bar background color in React Native?
Is there a single place in the react native iOS native code that I could modify to set iOS statusbar backgroundColor? RCTRootView.m ?
The react native StatusBar component only support backgroundColor for Android only.
The iOS operating system seems…

Ed of the Mountain
- 5,219
- 4
- 46
- 54
50
votes
4 answers
UIViewController's prefersStatusBarHidden not working
I am trying to make the status bar for one of my view controllers to be hidden (when displayed modally). When I'm presenting the view controller, the status bar is is to be hidden and then returned when dismissed.
I have added the following code to…

Taz
- 1,203
- 1
- 11
- 21
34
votes
5 answers
Handling In-Call Status Bar with Custom Modal Presentation
The Problem
I've noticed some strange behavior when presenting a UINavigationController (with a root view controller, already pushed, naturally) with UIViewControllerAnimatedTransitioning during a phone call.
If the in-call status bar is enabled…

Austin
- 5,625
- 1
- 29
- 43
25
votes
3 answers
Add UIView banner above status bar iOS 7
I'm trying to add a banner above the status bar when receiving an in-app push notification. From what I've been reading, it seems like the only way to dynamically change the status bar style in iOS 7 is to set…

mverderese
- 5,314
- 6
- 27
- 36
11
votes
2 answers
iOS: Default status bar style with UIViewControllerBasedStatusBarAppearance YES
Is there a way how to set the default status bar style while keeping the UIViewControllerBasedStatusBarAppearance enabled?
Here is the problem, I'm dealing with:
Nearly the whole app needs to be using UIStatusBarStyle.LightContent as the navigation…

Tom Kraina
- 3,569
- 1
- 38
- 58
5
votes
7 answers
How do I change the colour of the status bar when the navigation bar is hidden in iOS 7?
I am aware of how to change the colour of a navigation bar (and status bar) by doing this:
self.navigationController.navigationBar.barTintColor = [UIColor redColor];
But when I hide my navigation bar, the status bar color reverts back to…

Enrico Susatyo
- 19,372
- 18
- 95
- 156
4
votes
2 answers
iOS7 StatusBar using PhoneGap Build: set background color or text color
I know variations of this question have been asked dozens of times, but I haven't yet found one that addresses this combination: I want to be able to see a non-overlapping statusbar on iOS 7, using Adobe's Phonegap Build.
I have added the PhoneGap…

Sam Fen
- 5,074
- 5
- 30
- 56
4
votes
0 answers
iOS 7: Custom container view controller with UINavigationController as a child view controller
I would like to write a custom full-screen container view controller with the intention of putting a UINavigationController in it as a child view controller. The view of the UINavigationController will fill up the view of the container view…

ememem
- 968
- 1
- 10
- 23
3
votes
1 answer
Swift - Table View Scrolling past header understatus bar
I'm trying to write a check in App, where after the user enters information on the first view the view changes to a tableView of meetings. Currently I'm facing two issues; the first issue is the cell scroll past the header and under the status bar,…

Nocturnal336
- 31
- 1
- 4
3
votes
4 answers
iOS 7 - Status bar color on a modal changes?
Any ViewController added to the NavigationController directly has a gray status bar which matches the color of the NavigationBar.
But Whenever I display a Modal, the status bar is white, which doesn't match the NavigationBar I have placed in…

aryaxt
- 76,198
- 92
- 293
- 442
3
votes
2 answers
Hide Status Bar in iOS 7 without wiping out the space?
Is it feasible to hide the status bar in iOS 7 without erasing the space completely? I want to create my app's launch images, and just want to create the empty image with navigation bar and tabbar being set and status bar hidden. However, when I…

Blaszard
- 30,954
- 51
- 153
- 233
3
votes
3 answers
iOS7 Navigation Bar + Status Bar Text Color
I have problems with colour of text in Status Bar. I want to make colour of text white, but keep black colour on modal views.
I have next configuration:
Storyboard with settings "Opens in 5.1" and "Project Deployment target 7.0" and "View as iOS7…

Nik
- 9,063
- 7
- 66
- 81
2
votes
1 answer
The statusBar becomes transparent, After set navigationBar Hidden
After set navigationBarHidden=YES, the statusBar becomes transparent.
The only way is set statusBar backgroundcolor=white? (Actually it works...)

Ran
- 303
- 1
- 3
- 15
2
votes
2 answers
TableView scroll underlying top bar
Since I updated my app to iOS 7 new GUI I have a problem that I can't solve.
My app consists in a scrollable TableView. Trouble is that TableView scrolls underlying top bar, means that table doesn't consider top bar and extends till the top and it's…

Matte.Car
- 2,007
- 4
- 23
- 41
2
votes
1 answer
iOS in-call status bar doesn't show when activated in the simulator. Is this normal behaviour?
The in-call status bar doesn't show when activated in the simulator.
My app has the regular status bar always hidden, is this normal behaviour?
Is my app going to be rejected if the in-call status bar doesn't show at all?

Jake Armstrong
- 569
- 4
- 21