1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - ( void )locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status { switch (status) { case kCLAuthorizationStatusNotDetermined: if ([self.locationManage respondsToSelector: @selector (requestAlwaysAuthorization)]) { [self.locationManage requestWhenInUseAuthorization]; } break ; default : break ; } } |
联系客服