IOS 6,safari全屏webapp,主页按钮 [英] IOS 6, safari fullscreen webapp, home button
问题描述
我正在开发一个webapp(javascript)来放在iPad的主屏幕上,以便能够以全屏模式运行它。
一切正常,但经过一段时间后,主页按钮不再起作用了。
但该应用程序仍在继续运行,并且根本没有错误。
我仍然可以在控制台中运行javascript函数,我的mac上有safari,alert,提示,所有这些东西都在工作。但不是window.close();
要退出应用程序,我必须通过按下开关按钮和主页按钮重新启动设备。
I'm developping a webapp (javascript) to put on the homescreen of the iPad to be able to run it in fullscreen mode. Everything is working but after a random while, the home button doesn't work anymore. But the app still continuing to run, and the is no bug at all. I still can run javascript functions in the console with safari on my mac, alert, prompt, and all of those stuff are working. but not window.close(); To quit the application I have to restart my device by pushing the switch off button and the home button.
如果有人能帮我弄清楚它是什么我会非常高兴。
If anyone can help me to figure out what it is I would be very happy.
推荐答案
SoundJS 团队使用以下方法将此问题跟踪到进入全屏模式的Web应用程序:
The SoundJS team has tracked this issue down to the web app entering full screen mode using:
< meta name =apple-mobile-web-app-capablecontent =yes/>
向苹果报告了一个错误(参考号为#15133492)。
A bug was reported to apple (reference #15133492).
目前我们没有解决方法除了没有进入全屏模式。
Currently we have no work around except not entering full screen mode.
这篇关于IOS 6,safari全屏webapp,主页按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!