This brief tutorial will explain out how to create a custom icon to display on the iPhone and/or iPod touch springboard for your web site.
- When a user adds a site to their springboard by using the Add to Home Screen feature, by default, the iPhone or iPod touch will use a thumbnail of the visible part of the page being displayed in Safari.
- If you’d like your site to have a much nicer icon appear on the springboard when people add it, create a 57px by 57px PNG icon, name it apple-touch-icon.png, and upload it to the root folder of your site. Note: Apple themselves actually use a 129x129px icon, so you may want to experiment to see what size looks best for yours (it will scale to the default iPhone/iPod touch springboard icon size).
If you don’t have access to the root folder of your site, or you’d like to put the icon elsewhere, add the following line to the <head> of your site:
<link rel="apple-touch-icon" href="/path/to/file.png" /> (and upload the file.png to that folder).
- Now when someone adds your site, it will have a nice icon associated with it.