对于iPad和iPhone 4,apple-touch-icon.png的尺寸应该是多大? [英] What size should apple-touch-icon.png be for iPad and iPhone 4?

查看:144
本文介绍了对于iPad和iPhone 4,apple-touch-icon.png的尺寸应该是多大?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

支持的Apple触控图标是否大于60x60,如果支持,我应该为iPad和iPhone 4使用哪些尺寸?

Are Apple touch icons bigger than 60x60 supported, and if so, what dimensions should I use for the iPad and iPhone 4?

推荐答案

使用这些尺寸57x57,72x72,114x114,144x144,然后在文档的头部执行此操作:

Use these sizes 57x57, 72x72, 114x114, 144x144 then do this in the head of your document:

<link rel="apple-touch-icon" href="apple-touch-icon-iphone.png" />
<link rel="apple-touch-icon" sizes="72x72" href="apple-touch-icon-ipad.png" />
<link rel="apple-touch-icon" sizes="114x114" href="apple-touch-icon-iphone4.png" />

这一切看起来都不错苹果设备。 ;)

This will look good on all apple devices. ;)

这篇关于对于iPad和iPhone 4,apple-touch-icon.png的尺寸应该是多大?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆