【发布时间】:2012-10-29 06:08:34
【问题描述】:
我在模拟器上的 IOS 定位服务遇到以下问题:
将 phonegap 2.2.0 与 xcode 4.5.2 一起使用,
Cordova.plist EnableLocation = YES
navigator.geolocation.getCurrentPosition(myPositionSuccess, myPositionError, {maximumAge: 300000, timeout:10000, enableHighAccuracy : true});
myPositionSuccess 永远不会被调用,在 navigator.geolocation 出现以下错误
locationManager::didFailWithError (null)
我刚刚在模拟器上试过了。有什么想法吗?
【问题讨论】:
标签: xcode cordova geolocation ios-simulator