iOS Web App Status Bar Color
See original GitHub issueThis is a (multiple allowed):
-
bug
-
enhancement
-
feature-discussion (RFC)
-
Framework7 Version: 1.5.3
-
Platform and Target: iOS
What you did
change this line
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
to
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
Expected Behavior / Actual Behavior
The status bar will be colored depending on <div class="statusbar-overlay"></div>
color; inseted of black!
https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Changing The iOS Status Bar Of Your Progressive Web App
The black-translucent setting has white text and symbols, and will take the same background color as the body of your web app. Unfortunately, ......
Read more >apple-mobile-web-app-status-bar-style in ios 10
Black-translucent results in a transparent background with white text. Additionally, this status bar floats above your content, meaning you have ...
Read more >Progressive Web Apps: Customize Status Bar - codeburst
Black-translucent. The black-translucent setting has white text and symbols. It will take the same background colour as the body tag of your web...
Read more >In iOS 9 does "apple-mobile-web-app-status-bar-style" no ...
Suggestion for Apple: make the background-color always transparent, don't let the status bar interrupt the page flow. For the text and icons, ...
Read more >Make Your PWAs Look Handsome on iOS - ITNEXT
<meta name="apple-mobile-web-app-status-bar-style" ... Note that this will set the font color of the iOS Status Bar to white.
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 FreeTop 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
Top GitHub Comments
@iBinJubair okay, I see what you are saying and I can reproduce it. However, I’m not sure if there is anything in F7 to be done to fix this as it would easier to just override the style in a CSS file you include yourself.
For instance if you want to match the color of the header then you could do:
To force the status bar to always be black or if you want whatever is underneath the statusbar to show through you can do:
I don’t think this is a F7-related issue rather than a browser/os thing. The meta tag has nothing to do with F7.