File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
iOS/DoraemonKit/Src/GPS/Function Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,14 @@ -(void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus
232
232
}];
233
233
}
234
234
235
+ -(void )locationManagerDidChangeAuthorization : (CLLocationManager *)manager {
236
+ [self enumDelegate: manager block: ^(id <CLLocationManagerDelegate> delegate) {
237
+ if ([delegate respondsToSelector: @selector (locationManagerDidChangeAuthorization: )]) {
238
+ [delegate locationManagerDidChangeAuthorization: manager];
239
+ }
240
+ }];
241
+ }
242
+
235
243
- (void )locationManager : (CLLocationManager *)manager didStartMonitoringForRegion : (CLRegion *)region {
236
244
[self enumDelegate: manager block: ^(id <CLLocationManagerDelegate> delegate) {
237
245
if ([delegate respondsToSelector: @selector (locationManager:didStartMonitoringForRegion: )]) {
You can’t perform that action at this time.
0 commit comments