質問

I have a service class that is CLLocationManager's delegate. If I run the app, then open the Settings App and switch on Airplane Mode, my delegate gets nothing from CLLocationManager.

I would expect locationManager:didFailWithError to be called, but it is not.

役に立ちましたか?

解決

Well it appears that it is possible to switch on Wi-fi while in Airplane Mode. Wi-fi is initially switched off when airplane mode is switched on, but you can switch it back on from the Settings App. This means that LocationServices are not necessarily disabled as they can still work using Wifi networks for positioning.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top