- (BOOL)achiveUserLocationStart {
CLAuthorizationStatus status = [CLLocationManager authorizationStatus];
if (kCLAuthorizationStatusDenied == status || kCLAuthorizationStatusRestricted == status) {
// 需要打开定位服务
return YES;
}
return NO;
}
- (BOOL)achiveUserLocationStart {
CLAuthorizationStatus status = [CLLocationManager authorizationStatus];
if (kCLAuthorizationStatusDenied == status || kCLAuthorizationStatusRestricted == status) {
// 需要打开定位服务
return YES;
}
return NO;
}