How to check if location services are enabled for a particular app prior to iOS 4.2?

When you call -startUpdatingLocation, if location services were denied by the user, the location manager delegate will receive a call to -locationManager:didFailWithError: with the kCLErrorDenied error code. This works both in all versions of iOS.

Leave a Comment