question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS Web App Status Bar Color

See original GitHub issue

This 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:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
macdonstcommented, Mar 2, 2017

@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:

.statusbar-overlay {
    background: #000;
}

To force the status bar to always be black or if you want whatever is underneath the statusbar to show through you can do:

.statusbar-overlay {
    opacity: 0;
}
1reaction
valnubcommented, Feb 21, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found