Forked from EvanBacon/apple-touch-startup-image.html
Last active
October 16, 2019 17:45
-
-
Save joaoBeno/9e9f61e9f5261cdb320887bdd17176c1 to your computer and use it in GitHub Desktop.
An example of full iOS PWA startup image (splash screen) support.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta name="mobile-web-app-capable" content="yes" /> | |
<meta name="apple-touch-fullscreen" content="yes" /> | |
<meta name="apple-mobile-web-app-title" content="Expo" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="default" /> | |
<link | |
rel="apple-touch-icon" | |
sizes="180x180" | |
href="/assets/icons/icon_180x180.png" | |
/> | |
<link | |
rel="apple-touch-startup-image" | |
media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" | |
href="/assets/splash/icon_828x1792.png" | |
/> | |
<link | |
rel="apple-touch-startup-image" | |
media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" | |
href="/assets/splash/icon_1242x2688.png" | |
/> | |
<link | |
rel="apple-touch-startup-image" | |
media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" | |
href="/assets/splash/icon_1125x2436.png" | |
/> | |
<link | |
rel="apple-touch-startup-image" | |
media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" | |
href="/assets/splash/icon_1242x2208.png" | |
/> | |
<link | |
rel="apple-touch-startup-image" | |
media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" | |
href="/assets/splash/icon_750x1334.png" | |
/> | |
<link | |
rel="apple-touch-startup-image" | |
media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" | |
href="/assets/splash/icon_2048x2732.png" | |
/> | |
<link | |
rel="apple-touch-startup-image" | |
media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" | |
href="/assets/splash/icon_1668x2224.png" | |
/> | |
<link | |
rel="apple-touch-startup-image" | |
media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" | |
href="/assets/splash/icon_640x1136.png" | |
/> | |
<link | |
rel="apple-touch-startup-image" | |
media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" | |
href="/assets/splash/icon_1668x2388.png" | |
/> | |
<link | |
rel="apple-touch-startup-image" | |
media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" | |
href="/assets/splash/icon_1536x2048.png" | |
/> | |
</head> | |
<body></body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment