For web apps you can set the startup screen with apple-touch-startup-image
What about for iPads?
For web apps you can set the startup screen with apple-touch-startup-image
What about for iPads?
It's the same as the iphone. Put a png named Default.png
in the resource folder.
You have to have images for all orientations in iPad.
Like
Default-Portrait.png
Default-PortraitUpsideDown.png
Default-LandscapeLeft.png
Default-LandscapeRight.png
Hope this helps.
Thanks, Madhup
From my testing today, it seems the iPad doesn't support the apple-touch-startup-image. It's quite disappointing that the iPhone does support this in OS 3.1, and the iPad doesn't. Also, when using a webapp in a chromeless browser, the viewport isn't set properly. I do believe both are bugs or omissions in the iPad OS 3.2. Too bad :( I did ask for it at the apple forums: https://devforums.apple.com/thread/47178
I think Madhup is referring to native apps written in objective c and compiled with xcode. The OP is trying to make it work for webapps that are added to the homescreen via safari. Haven't gotten it to work so far :(
I had the same issue as well... You need to you use a specific size of 1004*768. i explained it in this blog: http://www.amirnaor.com/?p=71
I got this to "work" by making it 768 width and 1004 height.
The problem I’m having now is that when my webapp launches in landscape orientation, the startup image is sideways with a 20px white gap on the left. Does anyone else see this issue?
I only got the startup image to work by making a PNG image with dimensions of 748x1024. This was tested on an iPad with firmware 3.2.1.