Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple iPhone/iPodTouch Web Clip Icon Sizes

On Apple iPhones and iPod Touches, you specify a link to an icon file like so:

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

...but on this page, it recommends that you specify two different sizes of icon, one for iPhone < 4 and another for iPhone 4.

There is no documentation I can find that shows how to specify the two separate icons. Can anyone help?

like image 971
Scott Brown Avatar asked Feb 16 '11 11:02

Scott Brown


People also ask

What is the size of the icons on the iOS device?

The graphics file is automatically scaled and cropped to fit, if necessary, and converted to PNG format. Web clip icons are 144 x 144 pixels for iPad with a Retina display, and 114 x 114 pixels for iPhone. Prevent the iOS and iPadOS device from adding a shine to the image.

What is the size of the touch icon on the iPad?

Retina iPad --> <link rel="apple-touch-icon" sizes="144x144" href="touch-icon-ipad-144.png" /> The icon on Apple's site is 152x152 pixels. Hope that answers your question.

What is the size of a web URL icon on iPad?

Web clip icons are 144 x 144 pixels for iPad with a Retina display, and 114 x 114 pixels for iPhone. Prevent the iOS and iPadOS device from adding a shine to the image. Open the URL as a web app without a browser (there’s no URL or search bar, and no bookmarks).

What is the best size for an icon?

For best results, provide a square image that’s no larger than 400 x 400 pixels and less than 1 MB when uncompressed. The graphics file is automatically scaled and cropped to fit, if necessary, and converted to PNG format. Web clip icons are 144 x 144 pixels for iPad devices with a Retina display, and 114 x 114 pixels for iPhone devices.


1 Answers

There are plenty of documentation about this on Google.

Just use:

<!-- **normal** (iPhone/iPod **non retina** display) -->
<link rel="apple-touch-icon" href="apple-touch-icon.png"/>

<!-- **normal** (iPhone/iPod **retina** display) -->
<link rel="apple-touch-icon" href="apple-touch-icon-72.png" sizes="72x72"/>

<!-- and **iPad** version -->
<link rel="apple-touch-icon" href="apple-touch-icon-114.png" sizes="114x114"/>

As an additional info, you can have the icon without the gloss effect if you use apple-touch-icon-precomposed instead of apple-touch-icon.

and there are several tags you can use in order to have all features of Safari Mobile like splash screen, etc

also, give this Mobile Tuts article a read and you will know almost everything you need to have a brilliant web app

like image 187
balexandre Avatar answered Oct 11 '22 02:10

balexandre