Skip to content

Instantly share code, notes, and snippets.

@pbougie
Created February 27, 2012 00:53
Show Gist options
  • Save pbougie/1920213 to your computer and use it in GitHub Desktop.
Save pbougie/1920213 to your computer and use it in GitHub Desktop.
iOS directives for creating a web-based app with startup image.
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-startup-image" media="(max-device-width: 480px) and not (-webkit-min-device-pixel-ratio: 2)" href="apple-startup-320x460.png">
<link rel="apple-touch-startup-image" media="(max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)" href="apple-startup-640x920.png">
<link rel="apple-touch-startup-image" media="(min-device-width: 768px) and (orientation: portrait)" href="apple-startup-768x1004.png">
<link rel="apple-touch-startup-image" media="(min-device-width: 768px) and (orientation: landscape)" href="apple-startup-1024x748.png">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment