Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS网站图标优化 #436

Open
mphin opened this issue Oct 30, 2023 · 1 comment
Open

iOS网站图标优化 #436

mphin opened this issue Oct 30, 2023 · 1 comment

Comments

@mphin
Copy link

mphin commented Oct 30, 2023

如图在iOS添加到桌面后,图标不协调
image

@dnomd343
Copy link

这个是apple-touch-icon的问题,可以用下面的方法临时处理一下。

用AI重新把svg高精度导出成200x200的PNG,就是下面这张。

apple-touch-icon-200x200.zip

然后手动替换图片文件和index.html头。

IMG_0305

清理Safari缓存,重新载入网页,添加的图标就没有黑边了。

IMG_0306

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants