自从将iPhone 5s更新为iOS 9 beta试用版以来,我发现状态栏样式化meta标签以及独立Web应用程序上的启动图像已停止工作。它在iOS8上运行良好,所以我有点困惑。我希望这只是最终发行版中会修复的错误,但是我可以看看是否有人对导致此问题的任何其他建议。

有什么想法的人吗?

        <head>
            <meta charset="utf-8">
            <!-- Viewport -->
            <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
            <meta name="apple-mobile-web-app-capable" content="yes">
            <meta name="mobile-web-app-capable" content="yes">
            <!-- Status bar styles -->
            <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
            <!-- Telephone format detection -->
            <meta name="format-detection" content="telephone=no">
            <!-- Title -->
            <meta name="apple-mobile-web-app-title" content="My App">Stat
            <title>My App</title>

            <!-- Path to Library CSS-->
            <link rel="stylesheet" href="../resources/font-awesome-4.3.0/css/font-awesome.min.css">
            <link rel="stylesheet" href="../resources/bootstrap-3.3.5-dist/css/bootstrap.min.css">
            <link rel="stylesheet" href="../resources/jasny-bootstrap/css/jasny-bootstrap.min.css">

            <!-- Path to your custom app styles-->
            <link rel="stylesheet" href="../css/app.css">

            <!-- Favicons -->
            <link rel="icon" type="image/png" href="http://jupix.com/wp-content/themes/jupix/images/favicons/favicon-32x32.png" sizes="32x32">
            <link rel="apple-touch-icon-precomposed" sizes="57x57" href="http://jupix.com/wp-content/themes/jupix/images/favicons/apple-touch-icon-57x57.png">
            <link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://jupix.com/wp-content/themes/jupix/images/favicons/apple-touch-icon-72x72.png">
            <link rel="apple-touch-icon-precomposed" sizes="120x120" href="http://jupix.com/wp-content/themes/jupix/images/favicons/apple-touch-icon-120x120.png">
            <link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://jupix.com/wp-content/themes/jupix/images/favicons/apple-touch-icon-144x144.png">
            <link rel="apple-touch-icon-precomposed" sizes="152x152" href="http://jupix.com/wp-content/themes/jupix/images/favicons/apple-touch-icon-152x152.png">

            <!-- Startup images -->
            <link rel="apple-touch-startup-image" href="media/img/startup/iphone-6-plus.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
            <link rel="apple-touch-startup-image" href="media/img/startup/iphone-6.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)">
            <link rel="apple-touch-startup-image" href="media/img/startup/iphone-5.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)">

        </head>
        <body>
            <div>HTML Goes Here</div>
            <!-- Scripts -->
            <script type="text/javascript" src="../resources/jquery-1.11.3/jquery-1.11.3.min.js"></script>
            <script type="text/javascript" src="../resources/bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
            <script type="text/javascript" src="../resources/jasny-bootstrap/js/jasny-bootstrap.min.js"></script>
            <script type="application/javascript" src="../resources/fastclick-master/lib/fastclick.js"></script>
            <script type="text/javascript" src="../resources/bouncefix.js-master/dist/bouncefix.min.js"></script>
            <script type="text/javascript" src="../js/app.js"></script>
        </body>
    </html>

最佳答案

https://forums.developer.apple.com/thread/9819:
最终适用于9.2 beta 1

关于ios - iOS 9状态栏元标记和启动图像链接不起作用,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/31471603/

10-12 02:29