首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >iOS 9状态栏元标记和启动图像链接不起作用

问iOS 9状态栏元标记和启动图像链接不起作用
EN

Stack Overflow用户
提问于 2015-07-17 16:39:08
回答 2查看 9.5K关注 0票数 32

自从将我的iPhone 5s更新到iOS 9测试版后,我发现我的独立web应用程序上的状态栏样式元标签和启动图像已经停止工作。它在iOS8中工作得很好,所以我有点困惑。我希望这只是一个bug,会在最终版本中得到修复,但我想我会看看是否有人对导致这一问题的原因有任何其他建议。

大家有什么想法吗?

代码语言:javascript
复制
        <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>
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2015-11-05 22:58:50

https://forums.developer.apple.com/thread/9819:最终在9.2测试版1上工作

票数 3
EN

Stack Overflow用户

发布于 2015-10-15 05:41:23

根据苹果开发者论坛的说法,这个漏洞在iOS 9中持续存在。https://forums.developer.apple.com/thread/9819和它的关闭https://github.com/nolimits4web/Framework7/issues/531

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31471603

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档