I don't know if this has to do with coding but I am asking just in case: how do I set the icon to be displayed when someone creates home screen shortcut to my website on an iphone? I would have thought it would automatically do the favicon, but it isn't for mine. Maybe my favicon needs to be a greater quality (it's 32px x 32px). Thanks guys.
Asked
Active
Viewed 2,128 times
1
-
Did you even search at all? https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html – Aaron Wojnowski Oct 14 '14 at 20:32
-
possible duplicate of [Favicons - Best practice for 2013](http://stackoverflow.com/questions/19029342/favicons-best-practice-for-2013) – Black Frog Oct 14 '14 at 20:38
-
@ Aaron: no... what's google? – BestAnswer Oct 14 '14 at 20:40
1 Answers
2
You need to upload Apple touch icon files (png format) to your website and link them in the header section of your website.
For example for the retina iPhone with iOS 7+:
<link rel="apple-touch-icon" href="icon120.png" sizes="120x120">
See this answer for more details: https://stackoverflow.com/a/19046245/396578