简体   繁体   English

我的网站上的苹果触摸图标不会在我的iPhone上更新

[英]My website's apple touch icon won't update on my iPhone

I recently added apple touch icons to my website. 我最近在我的网站上添加了苹果触控图标。 When I add the site to my favorites on my iPad or my wife's 4S it uses the icon. 当我将网站添加到我的iPad上的收藏夹或我妻子的4S时,它会使用图标。 I think that's only because I had never bookmarked the site on those devices before. 我认为这只是因为我之前从未在这些设备上为该网站添加了书签。

On my iPhone, I had previously bookmarked the website in my favorites and it used the generic first number/letter of the website's name as the touch icon. 在我的iPhone上,我之前在我的收藏夹中为该网站添加了书签,并使用该网站名称的通用第一个数字/字母作为触摸图标。 Now that I've got touch icons on there, I can't get it to use them. 现在我有触摸图标,我无法使用它们。 I've tried clearing the website data on Safari on my phone, closing the browser and reopening it, even shutting off and restarting the phone. 我已经尝试在手机上清除Safari上的网站数据,关闭浏览器并重新打开它,甚至关闭并重新启动手机。 No matter what I do, it still uses the generic touch icon. 无论我做什么,它仍然使用通用触摸图标。 Is there anything I can do to get it to update? 我有什么办法可以让它更新吗?

Here's the website: 3to1video.com 这是网站: 3to1video.com

I just bookmarked it on my iPhone and added to the home screen and can see the Icon. 我刚刚在iPhone上为它添加了书签并添加到主屏幕,可以看到图标。 It did take a while(2s) to get the icon. 获得图标确实需要一段时间(2秒)。

Try and see if you get it with a faster web connection and wait for the icon to appear before saving it. 试着看看你是否通过更快的网络连接获得它,并在保存之前等待图标出现。 Also Try adding it as a home screen icon and see if that works. 还可以尝试将其添加为主屏幕图标,看看是否有效。

Nice site btw. 不错的网站顺便说一句。

Okay, I finally got it to work. 好的,我终于开始工作了。 It had to do with where in the header the 它与标题中的位置有关

<link rel="apple-touch-icon" href="apple-touch-icon-57x57-precomposed.png" />

was located. 找到了。 I'm using Squarespace and I had to put it in the header section on the main page rather than the header section of the code injection. 我正在使用Squarespace,我不得不把它放在主页面的标题部分而不是代码注入的标题部分。 Not sure exactly why that made it work in this one instance, but at least it's fixed. 不确定为什么它在这一个例子中起作用,但至少它是固定的。

I got it to work too, for my website. 对于我的网站,我也得到了它的工作。

I have an iPhone 6. The deal is, when you want the bookmarks, the favorites, and the Home Screen to work, but you already had favorites before, you have to : 我有一个iPhone 6.这笔交易是,当你想要书签,收藏夹和主屏幕工作,但你之前已经有了收藏夹,你必须:

RESET your iPhone 重置你的iPhone

Just clearing all website data will not work. 只清除所有网站数据将无法正常工作。

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

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