If a user has turned off location services (either for all apps or just mine), CLLocationManager never prompts and never updates the position. This is to be expected, but is there a way to detect that location services is turned off, and prompt to reenable it?
Share
Just to complete Tim’s answer.
You can always try starting location updates via startUpdatingLocation method on CLLocationManager instance. If location services are disabled, you’ll get notified about error condition by delegate and then you can bring up the dialog asking user to go into Settings and enable location services for your app…
Please note that you can launch Settings app via URL-scheme on iOS5 (versions lower than 5.0 (and greater than 5.0), don’t support it). Call: