Pregunta

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.

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top