If you own a website and want it to look good on the home screen of an iPhone or iPod touch should the user choose to make a web clip out of it, Dan Dickinson has a handy little tip for you from Apple’s iPhone Dev Center.
“To specify a bookmark icon for all pages of a web site, place a PNG image named “apple-touch-icon.png” at the root directory of your web server” and if you want to override the default icon on certain pages, you can “insert a <link> element similar to <link rel=”apple-touch-icon” href=”/customIcon.png”/> within the <head> element of the page”. You don’t need to try to make it look like one of the default icons though because Safari automatically adds a glassy overlay and masks your image into the rounded square shape before adding it to the home screen.
Check out Dickinson’s blog for a little more clarification on this one.
[Via Daring Fireball]
MacUser is your source for news, info, and opinion about Apple, the Mac, and the iPod. Our dedicated team of bloggers covers everything that is relevant to Mac users — and, okay, some stuff that’s not quite relevant, but is still a lot of fun. (Plus, we've got columns by Andy Ihnatko!)
IDG NETWORK:
JavaWorld
LinuxWorld
Macworld
Network World
PC World
PC World Canada
Playlist
Techworld
can you really post about saying how easy it is without having added it to your site yet? i say this out of love, i want a nice pretty MU on my home screen asap
@andy Ask and ye shall receive. Done and done. ;)