Skip to content

Instantly share code, notes, and snippets.

@rbsgn
Created August 16, 2010 19:36
Show Gist options
  • Save rbsgn/527589 to your computer and use it in GitHub Desktop.
Save rbsgn/527589 to your computer and use it in GitHub Desktop.
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 163dpi)" href="/link/to/iOS-57px.png" />
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 132dpi)" href="/link/to/iOS-72px.png" />
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 326dpi)" href="/link/to/iOS-114px.png" />
The addition of -precomposed stops iOS from automatically rendering
gloss atop my icon and rounding it’s corners. If you do want iOS to
auto-apply the gloss and rounded corners automatically (so you can
supply a flat, square image), simply use rel=“apple-touch-icon”.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment