Skip to content

Instantly share code, notes, and snippets.

@cjanis
Forked from tfausak/ios-8-web-app.html
Created October 17, 2012 18:01
Show Gist options
  • Save cjanis/3907067 to your computer and use it in GitHub Desktop.
Save cjanis/3907067 to your computer and use it in GitHub Desktop.
iOS Standalone Web App Settings, Icons, and Startup Images
<!-- ios standalone web app -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- ios status bar appearance, options: black, black-translucent -->
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- ios icon, just one size because ios will scale it, remove "-precomposed" if you want ios to add effects -->
<link href="[email protected]" sizes="144x144" rel="apple-touch-icon-precomposed">
<!-- ios startup images -->
<!-- iPhone --><link href="[email protected]" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)" rel="apple-touch-startup-image">
<!-- iPhone (Retina) --><link href="[email protected]" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<!-- iPhone 5 --><link href="[email protected]" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<!-- iPad Portrait --><link href="[email protected]" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)" rel="apple-touch-startup-image">
<!-- iPad Landscape --><link href="[email protected]" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)" rel="apple-touch-startup-image">
<!-- iPad (Retina) Portrait --><link href="[email protected]" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<!-- iPad (Retina) Landscape --><link href="[email protected]" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment