Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added apple mobile web app capable meta tags #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

scraymer
Copy link

@scraymer scraymer commented Nov 1, 2015

Not sure if reasoning for only using the chrome meta tag for mobile web app capable but I added the apple version too so my iOS8 iPhone and iPad will understand that it can be rendered as a native web app when added to the home screen. I understand if this was left out because of the refresh issue when opening a external link and comping back to native web app but for how I use it, it works fine. If this is merged in, I will delete my repository, otherwise, I will keep it in sync so I can use it in native web app mode for myself. Love the app and how clean it is, cheers.

used status bar style black as it is the only reliable choice for iOS +7. On iOS +7 it will appear either black or white depending on the device colour. The same colour as the startup background when booting iOS devices.
added apple mobile web app capable meta tags
@cheeaun
Copy link
Owner

cheeaun commented Nov 2, 2015

Interesting. So how do you go "back" on iOS8? I'm using iOS9 so can't try it anymore 😄

Also, apple-mobile-web-app-status-bar-style with black doesn't work anymore in iOS9 Mobile Safari 😭

@scraymer
Copy link
Author

scraymer commented Nov 2, 2015

You can never go back in operating systems, apple has made sure of that 😉 However, If you really wanted to test for backwards compatibility, you could always use the xCode simulator on OS X.

As for iOS9, apple-mobile-web-status-bar-style will ignore the content="value"attribute and will instead use the color of the device. Therefore, if your iOS9 device front colour is white, it will be white background with black text, else black background with white text. The same colour as the startup background when you boot an iOS devices for the background and the same colour of the apple logo for the text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants