I tried
<link href="Images/[email protected]" sizes="640x1136" media="(device-width: 640px) and (device-height: 1136px)" rel="apple-touch-startup-image">
但这没有用。苹果的界面指南还没有针对 iPhone 5 进行更新。
有谁知道吗?谢谢!
1.视口不要使用“width=device-width”,使用以下代码:
<meta content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
2.准备一张尺寸为640*1096的图片,另存为“Images/Default-568h@2x”,将以下代码添加到页面标题中:
<link href="Images/Default-56[email protected]" rel="apple-touch-startup-image" sizes="640x1096">
这是一个演示,它兼容iPhone5:https://github.com/open Fibers/php-tot
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)