w3c-webmob / installable-webapps

Use cases and requirements for installable web apps
43 stars 13 forks source link

Investigate splash screens #36

Open marcoscaceres opened 10 years ago

marcoscaceres commented 10 years ago

The document should investigate the use of splash screens on native platforms, to help inform: https://github.com/w3c/manifest/issues/9

marcoscaceres commented 10 years ago

there's <link rel="apple-touch-startup-image" href="">

anssiko commented 10 years ago

An undocumented(?) feature adds support for a subset of CSS Media Query media features (device-width, device-height, orientation, -webkit-device-pixel-ratio, others?) to the apple-touch-startup-image via the media attribute. For example:

<!-- iPhone 3 and 4 Non-Retina -->
<link rel="apple-touch-startup-image" media="(device-width: 320px)" href="apple-touch-startup-image-320x460.png">
<!-- iPhone 4 Retina -->
<link rel="apple-touch-startup-image" media="(device-width: 320px) and (-webkit-device-pixel-ratio: 2)" href="apple-touch-startup-image-640x920.png">

http://www.miguelmota.com/blog/iphone-and-ipad-web-app-startup-images/