Apple iPad,iPhone or Touch favicon for your website

by Webantix on Jun.02, 2010, under iPhone

iPhone Screenshot of favicon/apple-touch-iconI have seen on my Xmarks mobile website that I have bookmarked on my home screen on my iPhone does not have the usual screen shot logo. Instead it has a Xmarks logo in place which makes it look more like an app than a website. I thought this is pretty cool and know that my own site has a mobile version so I thought it would be a good addition to my site.

So it just takes the usual favicon right?? Well that’s what I first thought but sadly, no.

After a bit of research I have found two ways to do this.

the first is by entering a link similar to the favicon link.

 <link rel="apple-touch-icon" href="/icon.png" />

the second is just creating the file in the root of your web server directory called apple-touch-icon.png.

I have found that it is best to create PNG32 file 60x60px in size using a transparent background. Do not put any funky shiny bits or corners on the file as your iPad/iPhone will add it all.

No comments for this entry yet...

Leave a Reply

 

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...