1. Apple-touch-startup-image
Add a page to your desktop home screen, if you have this tag
<meta name= "apple-mobile-web-app-capable" content= "yes" >
Click on the generated icon to enter app mode, at which point you can add a splash screen.
Start screen is a picture, different models, need to picture the size of different, organized as follows:
| Models |
Resolution |
Pixel ratio |
Physical resolution |
Image resolution |
|
| Iphone4/iphone4s |
320 * 480 |
2 |
640 * 960 |
640 * 920 |
|
| Iphone5/iphone5s |
320 * 568 |
2 |
640 * 1136 |
640 * 1096 |
|
| Iphone6 |
375 * 667 |
2 |
750 * 1334 |
750 * 1294 |
|
| iphone6+ (Portrait) |
414 * 736 |
3 |
1242 * 2208 |
1242 * 2148 |
|
| iphone6+ (Landscape) |
736 * 414 |
3 |
2208 * 1242 |
2208 * 1182 |
|
The height of the picture is the physical pixel height minus the top system bar (20 * pixel ratio) px
The corresponding META tags are:
<!--iphone4, iphone4s-->
<link rel= "Apple-touch-startup-image" href= "/static/img/startup-640x920.png" media= "(device-width:320px) and ( device-height:480px) and (orientation:portrait) and (-webkit-device-pixel-ratio:2) "/>
<!--iphone5, iphone5s-->
<link rel= "Apple-touch-startup-image" href= "/static/img/startup-640x1096.png" media= "(device-width:320px) and ( device-height:568px) and (orientation:portrait) and (-webkit-device-pixel-ratio:2) "/>
<!--iphone6-->
<link rel= "Apple-touch-startup-image" href= "/static/img/startup-750x1294.png" media= "(device-width:375px) and ( DEVICE-HEIGHT:667PX) and (orientation:portrait) and (-webkit-device-pixel-ratio:2) "/>
<!--iphone6+ portrait-->
<link rel= "Apple-touch-startup-image" href= "/static/img/startup-1242x2148.png" media= "(device-width:414px) and ( DEVICE-HEIGHT:736PX) and (orientation:portrait) and (-webkit-device-pixel-ratio:3) "/>
<!--iphone6+ landscape-->
<link rel= "Apple-touch-startup-image" href= "/static/img/startup-2208x1182.png" media= "(device-width:414px) and ( DEVICE-HEIGHT:736PX) and (Orientation:landscape) and (-webkit-device-pixel-ratio:3) "/>
1) What image formats can I support?
2) <meta name= "apple-mobile-web-app-capable" content= "yes" > must have?
WebApp Development Essentials Record