![]() ![]() As you can see from the names of the images in the example, the iPad with retina display needs an icon which is 144x144px, the iPhone 4/4S/5 needs an icon which is 114x114px, the original iPad (and iPad 2, as the screen resolution is no different) needs an icon which is 72x72px, and the original iPhone doesn’t need a size specification, but for your reference it is 57x57px. Providing you include more than one, the iOS device will look for the correct size and utilise that image automatically. If you want to precompose the image, so that Apple displays it without the gloss, then you'd do this: ![]() If you want Apple to do the aesthetic bit for you (add the gloss) then you'd put in these to the tags: Full disclosure: I'm the author of this site. You might want to know that this favicon generator can create all these pictures at once. It is also important to consider that Android/Chrome is also using these pictures. So it is important to keep the file names are they are above. Note that iOS looks for URL like /apple-touch-icon-76x76.png, if it does not find interesting stuff in the HTML code (a bit like what IE is doing with /favicon.ico). In addition, you should create a 180x180 picture named apple-touch-icon.png. In addition, precomposed icons are deprecated.Īs a consequence, to support both new devices (running iOS7) and older (iOS6 and prior), the generic code is: A common practice is to create a single 180x180 icon, which is the highest expected resolution, and let the iOS devices scale it down as needed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |