Alex Rivera | Logout

iPhone 4 Retina "apple-touch-startup-image" for Web-apps

Asked 2010-09-25T22:01:33.410
20

This has been asked multiple times here, but without a solid and understandable answer. This is a web-app, not a native-app.

I'm using:

<link rel="apple-touch-startup-image" href="images/startup.png" />

to display the startup image. It loads fine if the image's resolution is 320x460. I tried using the retina's resolution which is 640x920 (40px are taken out by the status bar), that didn't work. I've tried the @2x thing, that failed too.

Is it even possible [yet]?

Edit
Report

1 Answer

5

Just did the testing... apple have added the "sizes" attribute. so, for hi-res, you add sizes="640x920", etc. I suppose this works for different orientation too.

answered 2011-03-10T22:34:46.033

Your Answer