Jquery Mobile闪屏问题
我正在开发一个网络应用程序,当您将该网站添加到主屏幕时,我遇到了启动屏幕问题。我环顾四周并删除了 &重新添加了这行代码,仍然不起作用。
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" href="im/h-apple-touch-icon.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-startup-image" href="img/loading-splash.png">
这就是我的头标签中的内容,我只是不知道为什么它不起作用。
I am working on a web app, and I am having an issue with the splash screen when you add the site to your homescreen. I've looked around and removed & re-added the line of code and it is still not working.
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" href="im/h-apple-touch-icon.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-startup-image" href="img/loading-splash.png">
that is what i have in my head tag, and I'm just stuck as to why it will not work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您出现白屏的原因是您尝试加载的图像在服务器上不存在。
链接到此地址:http://kensingtonchurch.org/aaron_dev/img/loading-splash。 png
当我试图找到它时,得到了 404。
调试移动应用程序的建议:
此外,Opera 有某种名为 Dragonfly 的远程调试实用程序。我从未使用过它,但它可能很有用。
The reason that you are getting a white screen is that the image you are trying to load does not exist on the server.
links to this address: http://kensingtonchurch.org/aaron_dev/img/loading-splash.png
I get a 404 when trying to find it.
Suggestions for debugging mobile apps:
Also, Opera has some sort of Remote debugging utility called Dragonfly. I've never used it, but it could be useful.