iOS 6 breaks GeoLocation web app

喜夏-厌秋 提交于 2019-12-24 09:00:07

问题


We have an HTML5 app that uses web sql, offline functionalitiy and the geolocation API with the enableHighAccuracy option set true.

Since iOS6 position.coords.accuracy often reports high values (100m+) even after a couple minutes warm up outdoors whereas iOS5 went to and stayed at 5m accuracy fairly quickly the same on iPhone 4S, iPad 3.

One workaround is to kill all apps then run the Apple map app, press the current location button and then start the HTML5 web app in which case things work as expected.

Thanks to SO12503815 we are not running mobile-web-app-capable.

Any workarounds, aside from coding a native app ?

来源:https://stackoverflow.com/questions/13129369/ios-6-breaks-geolocation-web-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!