Created
May 31, 2013 10:40
-
-
Save ondrejbartas/5684191 to your computer and use it in GitHub Desktop.
apple-icon-setup.html
This file contains hidden or 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
<!-- iPad Settings --> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
<!-- iOS ICONS --> | |
<link rel="apple-touch-icon" sizes="144x144" href="<%= image_path("apple_icons/icon-144.png") -%>" /> | |
<link rel="apple-touch-icon" sizes="114x114" href="<%= image_path("apple_icons/icon-114.png") -%>" /> | |
<link rel="apple-touch-icon" sizes="72x72" href="<%= image_path("apple_icons/icon-72.png") -%>" /> | |
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<%= image_path("apple_icons/icon-144.png") -%>" /> | |
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<%= image_path("apple_icons/icon-114.png") -%>" /> | |
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<%= image_path("apple_icons/icon-72.png") -%>" /> | |
<!-- iOS ICONS END --> | |
<!-- iPhone SPLASHSCREEN--> | |
<link href="<%= image_path("apple_icons/apple-touch-startup-image-320x460.jpg") -%>" media="(device-width: 320px) and (orientation: portrait)" rel="apple-touch-startup-image"> | |
<!-- iPhone SPLASHSCREEN (landscape)--> | |
<link href="<%= image_path("apple_icons/apple-touch-startup-image-460x320.jpg") -%>" media="(device-width: 320px) and (orientation: landscape)" rel="apple-touch-startup-image"> | |
<!-- iPhone (Retina) SPLASHSCREEN--> | |
<link href="<%= image_path("apple_icons/apple-touch-startup-image-640x920.jpg") -%>" media="(device-width: 320px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image"> | |
<!-- iPad (portrait) SPLASHSCREEN--> | |
<link href="<%= image_path("apple_icons/apple-touch-startup-image-768x1004.jpg") -%>" media="(device-width: 768px) and (orientation: portrait)" rel="apple-touch-startup-image"> | |
<!-- iPad (landscape) SPLASHSCREEN--> | |
<link href="<%= image_path("apple_icons/apple-touch-startup-image-748x1024.jpg") -%>" media="(device-width: 768px) and (orientation: landscape)" rel="apple-touch-startup-image"> | |
<!-- iPad (Retina, portrait) SPLASHSCREEN--> | |
<link href="<%= image_path("apple_icons/apple-touch-startup-image-1536x2008.jpg") -%>" media="(device-width: 1536px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image"> | |
<!-- iPad (Retina, landscape) SPLASHSCREEN--> | |
<link href="<%= image_path("apple_icons/apple-touch-startup-image-2048x1496.jpg") -%>" media="(device-width: 1536px) 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