Short answer: you cannot catch this notice. You can conclude about the choice of the user and act using methods CLLocationManager(longer answer below).
Longer answer:
First, welcome to stack overflow. Before you volunteer to ask your question and try to work with people who are here to help, it is a good idea to look if someone else has asked the same question before.
A brief search yielded (only for some of them):
, iOS docs:
, UIRequiredDeviceCapabilities Info.plist. , . App Store , , .
. , , UIRequiredDeviceCapabilities.
, , location-services gps UIRequiredDeviceCapabilities.
, - - , .
[CLLocationManager locationServicesEnabled]
:
: .
, :
. . , . , CLLocationManager . authorizationStatus.
[CLLocationManager authorizationStatus]
:
kCLAuthorizationStatusNotDetermined, , .kCLAuthorizationStatusRestricted . , , - , , .kCLAuthorizationStatusDenied .kCLAuthorizationStatusAuthorized .
[CLLocationManager locationServicesEnabled] NO, (.. [locationManager startUpdatingLocation]), , . , , , , .
, , ( , authorizationStatus).. , , . , . , ? - , .
[locationManager startUpdatingLocation], , locationManager: didFailWithError: kCLErrorDenied.
- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error
UIAlert, , .
, , : , " " ".
, , , "" / " ", .
, , , , .
Post scriptum: , , , , .