Reputation: 68740
Is there a Core Location object that we can ask to see if the user has granted the app the right to give their location?
Currently we have to check to see if the location object's Coordinate IsValid each time.
Upvotes: 0
Views: 630
Reputation: 34902
Take a look at CLLocationManager
's + (CLAuthorizationStatus)authorizationStatus
method. It's since iOS 4.2 and tells you the app's authorisation state.
Upvotes: 4