iOS 6 breaks GeoLocation in webapps (apple-mobile-web-app-capable)

前端 未结 11 1845
无人及你
无人及你 2020-12-07 16:21

I have an app that does a simple textbook navigator.geoLocation.watchPosition(...) that works great in iOS 5.x both in Safari and as a web app (using apple-mobile-web-app-ca

11条回答
  •  我在风中等你
    2020-12-07 16:48

    I'm having the same problem. Looks like watchPosition is simply failing out after the first position is received. I haven't found a work around yet, but I wanted to confirm that I was experiencing issues.

    Using these samples: http://www.w3schools.com/html/html5_geolocation.asp

    I get expected results on ios5 but ios6 drops the ball with watchPosition.

提交回复
热议问题