What does it mean when the apple-touch-icon.png was requested

前端 未结 3 1953
灰色年华
灰色年华 2020-12-22 07:24

I know what the apple touch icon is, and I have seen an apple desktop before, so I can imagine what it would look like. I also know how to add an apple touch icon to my site

相关标签:
3条回答
  • 2020-12-22 08:02

    When somebody using an iOS device visits your web-page and decides to "bookmark" your page by affffding your page to their Home screen the apple touch icon is used. It is like a favicon for browsers but has higher resolution and "might be designed" to match app icons ...

    0 讨论(0)
  • 2020-12-22 08:05

    to avoid 404 error on NGINX

    • create an empty image file (blank.gif)
    • put it into images directory
    • use following configuration:

    Location ~* /apple.*.png$ { rewrite ^.+$ /images/blank.gif last }

    0 讨论(0)
  • 2020-12-22 08:20

    Many log investigate to find that: whatever you have specified paths to apple-touch-icon files in the <head>, Safari will search these files at the domain's root when you add a bookmark/home screen shortcut:

    /apple-touch-icon.png
    /apple-touch-icon-120x120-precomposed.png
    /apple-touch-icon-120x120.png
    /apple-touch-icon.png
    

    Yes, 2 times the same file (tried on an iPhone 6).

    0 讨论(0)
提交回复
热议问题