-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using /apple-touch-icon-precomposed.png
no longer works
#1615
Comments
Confirmed on iPad Air running IOS 8.0.2 and iPhone 6 running 8.0.2. If we rename What are the apple docs saying about this topic? Update: from the apple docs:
|
@arthurvr Just renaming will still get you two 404 requests, plus IMHO, we don't know what the future holds, so I think we'll need to include a
|
@alrra True. 3 requests is totally unneeded. +1 for including a |
Thought we can get around include a |
+1 to adding a Since <link rel="apple-touch-icon" href="apple-touch-icon.png"> |
@mathiasbynens SGTM (will open a PR |
Closing this in favor of #1622. |
Until now we recommended to our users to include an image named `apple-touch-icon-precomposed.png` in the root of their website. Since the iOS 8 release however, Safari will no longer request¹ the `/apple-touch-icon-precomposed.png` by default, and instead, it will make the following requests¹: /apple-touch-icon-152x152-precomposed.png /apple-touch-icon-152x152.png /apple-touch-icon.png In order to fix this issue we decided¹ to rename `apple-touch-icon-precomposed.png` to `apple-touch-icon.png`, and include a `<link>` element in the `index.html`: <link rel="apple-touch-icon" href="apple-touch-icon.png"> Notes: * Just renaming `apple-touch-icon-precomposed.png` to `apple-touch-icon.png` would have also worked², even with older version of iOS. Unfortunately, it wouldn't have represented a good solution as Apple may change again what is requested by default, plus, it would have generated quite a few 404s³. * We decided to rename the touch icon because most iOS users⁴ are on iOS 7+, so the `precomposed` keyword no longer brings much benefit (as of iOS 7, no special effects are applied to touch icons). * Adding `<link rel="apple-touch-icon" ...>` in `index.html` will also allow⁵ (some of) the default Android 2.2+ browsers to use the touch icon. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ #1615 ² https://mathiasbynens.be/notes/touch-icons https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html ³ https://code.google.com/p/chromium/issues/detail?id=259681 #1615 ⁴ According to Apple (as measured by the App Store on October 13, 2014): * 5% iOS < 7 * 47% iOS 7 * 48% iOS 8 From: https://developer.apple.com/support/appstore/ https://cloud.githubusercontent.com/assets/1223565/4720999/2aa8ba26-5935-11e4-9492-92ff6a50ad7d.png ⁵ http://www.ravelrumba.com/blog/android-apple-touch-icon/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Close #1622
Until now we recommended to our users to include an image named `apple-touch-icon-precomposed.png` in the root of their website. Since the iOS 8 release however, Safari will no longer request¹ the `/apple-touch-icon-precomposed.png` by default, and instead, it will make the following requests¹: /apple-touch-icon-152x152-precomposed.png /apple-touch-icon-152x152.png /apple-touch-icon.png In order to fix this issue we decided¹ to rename `apple-touch-icon-precomposed.png` to `apple-touch-icon.png`, and include a `<link>` element in the `index.html`: <link rel="apple-touch-icon" href="apple-touch-icon.png"> Notes: * Just renaming `apple-touch-icon-precomposed.png` to `apple-touch-icon.png` would have also worked², even with older version of iOS. Unfortunately, it wouldn't have represented a good solution as Apple may change again what is requested by default, plus, it would have generated quite a few 404s³. * We decided to rename the touch icon because most iOS users⁴ are on iOS 7+, so the `precomposed` keyword no longer brings much benefit (as of iOS 7, no special effects are applied to touch icons). * Adding `<link rel="apple-touch-icon" ...>` in `index.html` will also allow⁵ (some of) the default Android 2.2+ browsers to use the touch icon. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ #1615 ² https://mathiasbynens.be/notes/touch-icons https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html ³ https://code.google.com/p/chromium/issues/detail?id=259681 #1615 ⁴ According to Apple (as measured by the App Store on October 13, 2014): * 5% iOS < 7 * 47% iOS 7 * 48% iOS 8 From: https://developer.apple.com/support/appstore/ https://cloud.githubusercontent.com/assets/1223565/4720999/2aa8ba26-5935-11e4-9492-92ff6a50ad7d.png ⁵ http://www.ravelrumba.com/blog/android-apple-touch-icon/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Close #1622
Until now we recommended to our users to include an image named `apple-touch-icon-precomposed.png` in the root of their website. Since the iOS 8 release however, Safari will no longer request¹ the `/apple-touch-icon-precomposed.png` by default, and instead, it will make the following requests¹: /apple-touch-icon-152x152-precomposed.png /apple-touch-icon-152x152.png /apple-touch-icon.png In order to fix this issue we decided¹ to rename `apple-touch-icon-precomposed.png` to `apple-touch-icon.png`, and include a `<link>` element in the `templates/header.html `: <link rel="apple-touch-icon" href="apple-touch-icon.png"> Notes: * Just renaming `apple-touch-icon-precomposed.png` to `apple-touch-icon.png` would have also worked², even with older version of iOS. Unfortunately, it wouldn't have represented a good solution as Apple may change again what is requested by default, plus, it would have generated quite a few 404s³. * We decided to rename the touch icon because most iOS users⁴ are on iOS 7+, so the `precomposed` keyword no longer brings much benefit (as of iOS 7, no special effects are applied to touch icons). * Adding `<link rel="apple-touch-icon" ...>` in `templates/header.html` will also allow⁵ (some of) the default Android 2.2+ browsers to use the touch icon. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ h5bp/html5-boilerplate#1615 ² https://mathiasbynens.be/notes/touch-icons https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html ³ https://code.google.com/p/chromium/issues/detail?id=259681 h5bp/html5-boilerplate#1615 ⁴ According to Apple (as measured by the App Store on October 13, 2014): * 5% iOS < 7 * 47% iOS 7 * 48% iOS 8 From: https://developer.apple.com/support/appstore/ https://cloud.githubusercontent.com/assets/1223565/4720999/2aa8ba26-5935-11e4-9492-92ff6a50ad7d.png ⁵ http://www.ravelrumba.com/blog/android-apple-touch-icon/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ref: h5bp/html5-boilerplate#1622
Until now we recommended to our users to include an image named `apple-touch-icon-precomposed.png` in the root of their website. Since the iOS 8 release however, Safari will no longer request¹ the `/apple-touch-icon-precomposed.png` by default, and instead, it will make the following requests¹: /apple-touch-icon-152x152-precomposed.png /apple-touch-icon-152x152.png /apple-touch-icon.png In order to fix this issue we decided¹ to rename `apple-touch-icon-precomposed.png` to `apple-touch-icon.png`, and include a `<link>` element in the `index.html`: <link rel="apple-touch-icon" href="apple-touch-icon.png"> Notes: * Just renaming `apple-touch-icon-precomposed.png` to `apple-touch-icon.png` would have also worked², even with older version of iOS. Unfortunately, it wouldn't have represented a good solution as Apple may change again what is requested by default, plus, it would have generated quite a few 404s³. * We decided to rename the touch icon because most iOS users⁴ are on iOS 7+, so the `precomposed` keyword no longer brings much benefit (as of iOS 7, no special effects are applied to touch icons). * Adding `<link rel="apple-touch-icon" ...>` in `index.html` will also allow⁵ (some of) the default Android 2.2+ browsers to use the touch icon. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ h5bp/html5-boilerplate#1615 ² https://mathiasbynens.be/notes/touch-icons https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html ³ https://code.google.com/p/chromium/issues/detail?id=259681 h5bp/html5-boilerplate#1615 ⁴ According to Apple (as measured by the App Store on October 13, 2014): * 5% iOS < 7 * 47% iOS 7 * 48% iOS 8 From: https://developer.apple.com/support/appstore/ https://cloud.githubusercontent.com/assets/1223565/4720999/2aa8ba26-5935-11e4-9492-92ff6a50ad7d.png ⁵ http://www.ravelrumba.com/blog/android-apple-touch-icon/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Close h5bp/html5-boilerplate#1622
Until now we recommended to our users to include an image named `apple-touch-icon-precomposed.png` in the root of their website. Since the iOS 8 release however, Safari will no longer request¹ the `/apple-touch-icon-precomposed.png` by default, and instead, it will make the following requests¹: /apple-touch-icon-152x152-precomposed.png /apple-touch-icon-152x152.png /apple-touch-icon.png In order to fix this issue we decided¹ to rename `apple-touch-icon-precomposed.png` to `apple-touch-icon.png`, and include a `<link>` element in the `index.html`: <link rel="apple-touch-icon" href="apple-touch-icon.png"> Notes: * Just renaming `apple-touch-icon-precomposed.png` to `apple-touch-icon.png` would have also worked², even with older version of iOS. Unfortunately, it wouldn't have represented a good solution as Apple may change again what is requested by default, plus, it would have generated quite a few 404s³. * We decided to rename the touch icon because most iOS users⁴ are on iOS 7+, so the `precomposed` keyword no longer brings much benefit (as of iOS 7, no special effects are applied to touch icons). * Adding `<link rel="apple-touch-icon" ...>` in `index.html` will also allow⁵ (some of) the default Android 2.2+ browsers to use the touch icon. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ h5bp#1615 ² https://mathiasbynens.be/notes/touch-icons https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html ³ https://code.google.com/p/chromium/issues/detail?id=259681 h5bp#1615 ⁴ According to Apple (as measured by the App Store on October 13, 2014): * 5% iOS < 7 * 47% iOS 7 * 48% iOS 8 From: https://developer.apple.com/support/appstore/ https://cloud.githubusercontent.com/assets/1223565/4720999/2aa8ba26-5935-11e4-9492-92ff6a50ad7d.png ⁵ http://www.ravelrumba.com/blog/android-apple-touch-icon/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Close h5bp#1622
It seems that Safari for iOS 8 (?) will no longer request the
/apple-touch-icon-precomposed.png
. Simple way to test this: just try toAdd to Home Screen
http://html5boilerplate.com/ (the site contains the/apple-touch-icon-precomposed.png
in the root)Notes:
The data below was generated using an iPad 3 running iOS 8.0.2.
Safari will make the following requests when the user touches the icon:
so, it won't make any request for the
/apple-touch-icon-precomposed.png
.If a
<link>
is included, e.g.:Safari will make, as intended, the following request:
Cc: @mathiasbynens
The text was updated successfully, but these errors were encountered: