我有與IOS在模擬器上的位置服務下列問題:的LocationManager didFailWithError空的PhoneGap模擬器
使用的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)
我剛在模擬器。任何想法?
這爲我工作了。我剛剛退出SIM卡並重新開始,並立即開始工作。乾杯。 –
這也適用於我,我想知道這裏的問題是什麼。我在XCode 7.1和Cordova上運行Ionic – Amaan