Update apple-touch-icon-precomposed.png and the docs related to the touch icons#1599
Update apple-touch-icon-precomposed.png and the docs related to the touch icons#1599
apple-touch-icon-precomposed.png and the docs related to the touch icons#1599Conversation
apple-touch-icon-precomposed.png icon size to 180×180apple-touch-icon-precomposed.png size to 180×180
apple-touch-icon-precomposed.png size to 180×180apple-touch-icon-precomposed.png size to 180×180px
|
I’ve updated https://mathiasbynens.be/demo/touch-icon. If you are the lucky owner of an iPhone 6 Plus, please visit the page (use this easy-to-type short URL: |
|
I can confirm that the iPad (3rd generation) running Out of curiosity I've also tested using the iOS Simulator (MacBook Pro without a retina display running OS X 10.9.4), however I only got the
|
|
Check out the official docs on this topic: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html |
|
Ah, looks like the docs have been updated in the mean time. Thanks @arthurvr – and thanks for testing, @alrra. The HIG now mentions 120×120px icon as well instead of the 114×114px one, so I’ve updated https://mathiasbynens.be/demo/touch-icon once again to include a 120×120px icon as well. I can confirm that an iPhone 5S running iOS 8 uses the 120px icon. |
|
Just to confirm: iPad 3rd gen (the first with a retina display), iOS 8: 180x180 So while the HIG recommends 152x152 for iPad (@ 2x), iOS 8 actually uses 180x180 if available. |
|
The iPhone 6 Plus uses the 120×120px icon, as per https://twitter.com/JZdziarski/status/513011619212038144:
|
|
Thanks for testing @Rootside!
@mathiasbynens Interesting. However, it would be nice to have at least one or two more sources that confirm that. :) |
|
274ac27 to
901166a
Compare
apple-touch-icon-precomposed.png size to 180×180pxapple-touch-icon-precomposed.png and the documentation related to the apple touch icons
901166a to
9fdfb93
Compare
apple-touch-icon-precomposed.png and the documentation related to the apple touch iconsapple-touch-icon-precomposed.png and the docs related to the touch icons
I can also confirm that the iPhone 6 Plus uses the |
9fdfb93 to
286b226
Compare
|
If the iPhone 6 Plus requests 120x120, then it’s either a mistake on Apple’s part, or the 180x180 size is meant for a forthcoming @ 3x iPad – or both. |
Thanks @patrickkettner! |
|
So, It seems that we have the following (please correct me if I made a mistake!):
Displays meaning: More information about the displays of iOS devices can be found here. |
8e933d7 to
712568f
Compare
* Update the documentation regarding the Apple touch icons, by reflecting the recent changes brought by the release of iOS 8 and the new iPhone 6 and 6 Plus. Note: The changes do not follow all Apple's iOS Human Interface Guidelines¹, as in practice, the images used by the different devices are different² from the ones specified in the Apple documentation. * Update the `apple-touch-icon-precomposed.png` to be `180×180px` (this is now the largest image size used by any Apple device running iOS). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html ² #1599 Close #1599.
286b226 to
1c4fcf3
Compare
|
I could test with my own iPad mini with @1x display running iOS 8.0.2:
In other words, no change compared to iOS 7. (I ran RFG compatibility tests). |
|
Probably this should be tested on an iPhone 6 plus running IOS 8.0.2 too. Maybe this wasn't a problem with the docs, but with the software itself. |
|
Update: in iOS 8.0.2, iPad 3rd gen (@2x) uses 180x180 As a sidenote, Apple seems to be struggling a little bit with the software updates. Without an actual statement from Apple, it might take a while to find out what’s a mistake and what’s intended behaviour – I wouldn’t be surprised if this isn’t addressed until new iPads come out. |
|
I tested on a 6+ on 8.0.2, still 120 |
Thanks again @patrickkettner! |
Same result on If anyone can run the test for:
and report back, we would be very grateful! :D |
|
iPhone 6 on |
|
Thanks @sarukuku! |
|
I've run the RFG compatibility test (not Mathias's) on an iPhone 6 and an iPhone 6 Plus. Both gave the same results:
So yes, the 180x180 touch icon was used... but not for the "Add to HS" use case. |
@phbernard Just to be clear: iOS 8.1?
Using the RFG compatibility test and However, using @mathiasbynens's test that also has this line: <link rel="apple-touch-icon" sizes="228x228" href="https://dummyimage.com/228x228.png">I got the Which made me wander if Safari would use an even bigger image. So I tested for multiple values and I ended up with <link rel="apple-touch-icon" sizes="300x300" href="https://dummyimage.com/300x300.png">Beyond that value it would just use the @phbernard Can you test if Safari for iPhone 6 Plus would use images bigger the |
|
@alrra User agent parsing said "iOS 8.2" (done by ua-parser) so I think that means "8.0.2". Sure I can test larger pictures. However, I have to go to an Apple Center for this. I'll try to get there in a week or two and perform several tests on all available devices (iPad Air 2 will have been released). I'll get the iOS version from device settings instead of relying on the user agent. |
@phbernard Did you by any chance had the time to do the tests? |
|
According to this post, iPhone Classic iOS 7 uses 60x60 |
@marcobiedermann From what I can tell, none of the iPhones with @1x display (original iPhone, iPhone 3G, iPhone 3GS) ever received the iOS 7 update. |
* Update the documentation regarding the Apple touch icons, by reflecting the recent changes brought by the release of iOS 8 and the new iPhone 6 and 6 Plus. Note: The changes do not follow all Apple's iOS Human Interface Guidelines¹, as in practice, the images used by the different devices are different² from the ones specified in the Apple documentation. * Update the `apple-touch-icon-precomposed.png` to be `180×180px` (this is now the largest image size used by any Apple device running iOS). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html ² h5bp/html5-boilerplate#1599 Close h5bp/html5-boilerplate#1599.
Clarify that the iPad and iPad mini with @1x display running iOS 8 are also using the `76×76px` touch icon. Ref: h5bp/html5-boilerplate#1599.
* Update the documentation regarding the Apple touch icons, by reflecting the recent changes brought by the release of iOS 8 and the new iPhone 6 and 6 Plus. Note: The changes do not follow all Apple's iOS Human Interface Guidelines¹, as in practice, the images used by the different devices are different² from the ones specified in the Apple documentation. * Update the `apple-touch-icon-precomposed.png` to be `180×180px` (this is now the largest image size used by any Apple device running iOS). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html ² h5bp#1599 Close h5bp#1599.
* Include just one 180x180px touch icon`. Over time as Apple released different size displays for their devices, the requirements¹ for the size of the touch icon have changed quite a bit: * 57×57px – iPhone with @1x display and iPod Touch * 72×72px – iPad and iPad mini with @1x display running iOS ≤ 6 * 76×76px – iPad and iPad mini with @1x display running iOS ≥ 7 * 114×114px – iPhone with @2x display running iOS ≤ 6 * 120×120px – iPhone with @2x and @3x display running iOS ≥ 7 * 144×144px – iPad and iPad mini with @2x display running iOS ≤ 6 * 152×152px – iPad and iPad mini with @2x display running iOS 7 * 180×180px – iPad and iPad mini with @2x display running iOS 8+ However, most iOS users will be on the latest 2 versions² of iOS and using newer devices, so nowadays, one 180x180px touch icon is enough. Also, if needed, the icon will be automatically³ downscaled by Safari, and the result of the scaling is generally ok. * Remove unneeded `sizes` attribute. When using only one touch icon there is no need to use the `sizes` attribute. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ h5bp/html5-boilerplate#1599 (comment) ² https://developer.apple.com/support/app-store/ ³ https://realfavicongenerator.net/blog/how-ios-scales-the-apple-touch-icon/ See also: https://mathiasbynens.be/notes/touch-icons










Documentation and other information
From the Apple documentation https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html:
(thanks @arthurvr)
From: http://www.mobilexweb.com/blog/safari-ios8-iphone6-web-developers-designers:
edit: see Update
apple-touch-icon-precomposed.pngand the docs related to the touch icons #1599 (comment).Testing
The information from above needs to be tested and confirmed! (@mathiasbynens updated his test page)
Note: I'll update the commit as we go along and more information is confirmed.