简体   繁体   English

iOS书签显示favicon而不是apple-touch-icon

[英]iOS bookmark showing favicon instead of apple-touch-icon

Can someone tell me more about how iOS prioritizes bookmark icon display and if it's possible to show an icon that's different than the favicon? 有人可以告诉我更多有关iOS如何区分书签图标显示优先级的信息,以及是否可能显示不同于收藏夹图标的图标吗? Thanks 谢谢

When submitting a apple-touch-icon to iOS Safari, it is using this icon for both home screen shortcut and bookmark. 将苹果触摸图标提交到iOS Safari时,该图标同时用于主屏幕快捷方式和书签。 More precisely, when running RealFaviconGenerator's favicon compatibility test , iOS Safari 9 is using the 180x180 Touch icon in both cases . 更准确地说,在运行RealFaviconGenerator的favicon兼容性测试时两种情况下iOS Safari 9均使用180x180 Touch图标

What to do with your particular issue: 如何处理您的特定问题:

  • Bookmark your site again. 再次为您的站点添加书签。 Like several browsers, iOS Safari does not always take the icon (or the right icon) immediately. 像几种浏览器一样,iOS Safari并不总是立即显示图标(或右侧图标)。 Simply repeating the procedure might auto-magically fix the issue. 简单地重复该过程可能会自动解决问题。
  • Change your favicon code and images to look like ones of RealFaviconGenerator. 更改您的收藏夹代码和图像,使其看起来像RealFaviconGenerator。 An easy shot would be to make your Touch icon a 180x180 image, if this is not already the case. 一个简单的方法就是将您的“触摸”图标制作为180x180的图片(如果不是这种情况)。

Full disclosure: I'm the author of this service. 完全披露:我是这项服务的作者。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM