A status bar is an area typically found at the bottom of Graphical User Interfaces that provide information about the computer, the application or other applications.
Questions tagged [statusbar]
2434 questions
91
votes
18 answers
iOS 7 Status bar with Phonegap
In iOS 7, Phonegap applications will appear underneath the status bar. This can make it difficult to click on buttons/menus that have been placed at the top of the screen.
Is there someone who knows a way to fix this status bar issue on iOS 7 in a…

Luddig
- 2,809
- 3
- 20
- 23
89
votes
8 answers
Hiding the status bar with React Native
How do you hide the status bar for iOS or Android when developing with React Native? I've imported StatusBar, but I believe there is also StatusBarIOS and a StatusBar for Android.

Rheisen
- 2,651
- 2
- 10
- 11
88
votes
21 answers
Flutter - How to set status bar color when AppBar not present
How to set status bar color when AppBar not present.
I have tried this but not working.
Widget build(BuildContext context) {
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.dark);
return new Scaffold(
body: new Container(
…

Rafiqul Hasan
- 3,324
- 4
- 20
- 28
88
votes
10 answers
How to find height of status bar in Android through React Native?
How can I find the height of the status bar on Android through React Native?
If I check the React.Dimensions height the value seems to include the status bar height too but I'm trying to find the height of the layout without the status bar.

Zohar Levin
- 2,364
- 3
- 19
- 24
86
votes
16 answers
How to change the status bar background color and text color on iOS 13?
With the arrival of iOS 13 statusBar's view is no longer accessible trough:
value(forKey: "statusBar") as? UIView
Due to:
Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: 'App called -statusBar or
…

Hugo Alonso
- 6,684
- 2
- 34
- 65
85
votes
10 answers
how to hide status bar when splash screen appears in iphone?
Is there a way to hide the status bar when showing splash screen in iPhone
and then show again in application?

Rahul Vyas
- 28,260
- 49
- 182
- 256
74
votes
7 answers
Hide Status Bar In iOS 8 app
I have tried
[[UIApplication sharedApplication] setStatusBarHidden:YES];
This does nothing.
And I have looked in my Info.plist file for "View controller-based status bar appearance" but it's not there.
How can I hide the white status bar at the…

Aggressor
- 13,323
- 24
- 103
- 182
70
votes
2 answers
What is the height of Navigation Bar in iOS 7?
I 've just created a simple iOS 7 app using the default Master Details template.
In the MasterViewController.m, viewDidAppear method, I logged…

onmyway133
- 45,645
- 31
- 257
- 263
66
votes
12 answers
iOS 7 UISearchDisplayController search bar overlaps status bar while searching
I'm updating my app for iOS 7, and I'm in the process of adjusting all my views to account for the new transparent status bar (my app will still use opaque navigation bars).
It was relatively easy to adjust for the status bar in every view, except…

desmondhume
- 903
- 1
- 7
- 9
64
votes
10 answers
Android: show/hide status bar/power bar
I am trying to create a button where I can hide or show the status bar on my tablet.
I've put in the…

B770
- 1,272
- 3
- 17
- 34
64
votes
16 answers
Change Status Bar Background Color in Swift 3
In XCode 7.3.x ill changed the background Color for my StatusBar with:
func setStatusBarBackgroundColor(color: UIColor) {
guard let statusBar = UIApplication.sharedApplication().valueForKey("statusBarWindow")?.valueForKey("statusBar") as? UIView…

derdida
- 14,784
- 16
- 90
- 139
62
votes
7 answers
Get iPhone Status Bar Height
I need to resize some elements in relation to the height of the iPhone's Status Bar. I know that the status bar is usually 20 points high but this isn't the case when it's in tethering mode. It gets doubled to 40. What is the proper way to determine…

Kyle Decot
- 20,715
- 39
- 142
- 263
61
votes
15 answers
How to hide a status bar in iOS?
I can hide a status bar in my app:
- (void)viewDidLoad{
[[UIApplication sharedApplication] setStatusBarHidden:YES];
[super viewDidLoad];
}
When I chose my launch image and start it first time, it's status bar over a picture. How can I…
user1680822
60
votes
9 answers
Scroll to top of UITableView by tapping status bar
I know there's tons of code out there to scroll a tableview to the top, but I want to do this when the top status bar is tapped, just like in Apple's native apps. Is this possible?

iOSDev
- 1,028
- 4
- 13
- 21
58
votes
10 answers
Android Material: Status bar color won't change
I'm developing an simple app to test the material design. I'm using com.android.support:appcompat-v7:21.0.0 and my activity looks like:
public class MyActivity extends ActionBarActivity {
...
}
The layout is defined as:

FrancescoAzzola
- 2,666
- 2
- 15
- 22