Skip to content

Commit 6d0933a

Browse files
itw_wuxyjackjintai
itw_wuxy
authored and
jackjintai
committed
Update DoraemonGPSMocker.m
Adaptation iOS14
1 parent 7754c82 commit 6d0933a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

iOS/DoraemonKit/Src/GPS/Function/DoraemonGPSMocker.m

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,14 @@ -(void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus
232232
}];
233233
}
234234

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+
235243
- (void)locationManager:(CLLocationManager *)manager didStartMonitoringForRegion:(CLRegion *)region{
236244
[self enumDelegate:manager block:^(id<CLLocationManagerDelegate> delegate) {
237245
if ([delegate respondsToSelector:@selector(locationManager:didStartMonitoringForRegion:)]) {

0 commit comments

Comments
 (0)