The latest solution for iPhone OS 4.x and PhoneGap 0.9.x is to follow the example of the docs for and add an event listener that waits for the device to be ready, otherwise the native navigator.geolocation is used and you get an alert like this: “var/mobile/Applications/UUID/appname.app/www/index.html” Would Like To Use Your Current Location.
phonegap - 解决ios中使用定位的页面会跳出一个用户确认提示的问题
最新推荐文章于 2021-06-09 16:23:50 发布