iOS 11 status bar overlaps with header
See original GitHub issueIonic version: (check one with “x”) (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [ x ] 3.x [ ] 4.x
I’m submitting a … (check one with “x”) [ x ] bug report [ ] feature request
Current behavior:
The status bar overlaps with the header on an iPhone SE with iOS 11.

Expected behavior: The header should have the correct top padding so the text does not overlap.
Steps to reproduce:
- Create a new app with
ionic start myApp tabs - Build with Ionic Pro and test with Ionic View
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (C:\Users\marco\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.15.2
ionic (Ionic CLI) : 3.15.2
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.0.1
Cordova Platforms : none
Ionic Framework : ionic-angular 3.8.0
System:
Node : v6.10.0
npm : 3.10.10
OS : Windows 10
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:76 (16 by maintainers)
Top Results From Across the Web
IOS status bar overlaps ion-view H… | Apple Developer Forums
the ios status bar overlaps the ion-view header when we try to upload image from Phone Camera, this issue is only seen in...
Read more >Ionic 4 - iOS status bar overlaps top tabs - Stack Overflow
I'm trying to create a tabs bar at the top of my app, with no obvious header, but the iOS status bar is...
Read more >IONIC: IPhone X Status bar overlaps with header - Ravi's Blog
The status bar overlaps with the header on an iPhone SE with iOS 11. Please cross check the flowing meta tags in your...
Read more >Header overlaps with status bar after exiting camera or gallery
Hi, Recently I had updated my xcode and updated cordova-ios to latest. After this, Whenever I exit camera or gallery, launched from within ......
Read more >Header overlapping iPhone X Status Bar : r/swift - Reddit
I've added a header programmatically and it is overlapping with the status bar. How can I ensure that on "X-style" devices that it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Make sure you have
viewport-fit=coverin your app.Is not really correct. When you introduce the correct viewport-fit attribute, it will make the viewport take up the entire screen space. As soon as you do that though, safe-areas kick in and provide the correct value.
Demo here
And the applied css rules
envandconstantare both used as constant was only available for iOS 11.0, but for iOS11.1, which is rolling out, the function has changed toenv, so we need both for now.Hey everyone! Finally able to reproduce this. Its a mix of Old xcode versions on Pro and the newer iOS updates. We’ll be in touch about the update. Hang tight!