Closed MarkWithall closed 7 years ago
Some further investigate suggests that the icon needs to been in the root folder for it work (see Apple developer documentation).
To specify an icon for the entire website (every page on the website), place an icon file in PNG format in the root document folder called apple-touch-icon.png
I've not had a chance to test this yet though.
I didn't read far enough. The line after says that one can use icons in another folder.
As an reference example, https://html5boilerplate.com/mobile/ works as expected.
@MarkWithall Thank you for the issue Mark. I'll investigate.
@MarkWithall Is this with Safari?
Yes. With Safari on iOS. Also, I've now updated to iOS 11.0.1 and the issue is still there.
@MarkWithall Hi again, the issue appeared to be with Safari not accepting PNGs with transparency. I have replaced the images and the problem appears to be fixed. Can you confirm?
Yes. Looks good to me. Thanks.
@MarkWithall No problem. Hope you are getting on okay with Infusion besides this.
Hi, I have added to iPhone home screen some frequently updated sites; as examples NOAA Northeast US Weather Satellite, Sports info from various. They work fine but only display as icons on iPhone home screen as white blob—ugly. I am not going to get NOAA, for example, to update their websites to include .png files. Any way to select or use a better icon image for these? I can provide an image/file and I don't expect it to update real time. I just want something that looks nicer. Latest iOS, etc. Thank you.
Not sure if it's just me but the icon just shows as black when I go to the infusion page and select 'Add to Home Screen'.
It works when adding a bookmark.
I'm using an iPhone 6s Plus with iOS 10.3.3. The use of
apple-touch-icon
in the code suggests it is intended to work.