在iOS 8发布后,我编写了一个简单的web应用程序,现在我想知道启动映像是否仍然有意义,它们是否还在使用。由于我的web应用程序中没有发布图像,所以我想知道safari在iOS 8下是否仍然支持它,我使用了以下代码,因为它是苹果指南中预先给出的。
<link rel="apple-touch-startup-image" href="/startup.png">发布于 2014-11-02 15:52:39
请参阅https://stackoverflow.com/a/26057714/118091
您将具有指定的大小和定向支持。
<!-- iPhone 6 -->
<link href="750x1294.png" media="(device-width: 375px) and (device-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<!-- iPhone 6+ Portrait -->
<link href="1242x2148.png" media="(device-width: 414px) and (device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image">
<!-- iPhone 6+ Landscape -->
<link href="2208x1182.png" media="(device-width: 414px) and (device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image">https://stackoverflow.com/questions/26701093
复制相似问题