phonegap - 解决ios中使用定位的页面会跳出一个用户确认提示的问题

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.

猜你喜欢

转载自blog.csdn.net/icewizardry/article/details/17265431