Basically through the error delegate callback.
- (void)locationManager: (CLLocationManager *)manager
didFailWithError: (NSError *)error
From an application perspective the choices are really not any different. If they cancel, then they don't want to allow CoreLocation privileges for the app and your callback will be executed. If they select Settings, then the app will be terminated to open the Settings app. (Don't recall now if your callback is triggered in that case or not.) If they enable Location Services, then when they relaunch your app they will be presented with the option again to agree or deny which will trigger one of your delegate methods.
Last edited by terence; 10-27-2009 at 05:17 AM.
Reason: Interpreted the :( in the code as an emoticon.
|