fixes #101: bug in location auth status changes
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -3067,7 +3067,7 @@ | @@ -3067,7 +3067,7 @@ | ||
3067 | 3067 | ||
3068 | - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status | 3068 | - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status |
3069 | { | 3069 | { |
3070 | - if (status != kCLAuthorizationStatusAuthorized) | 3070 | + if (status == kCLAuthorizationStatusDenied || status == kCLAuthorizationStatusRestricted) |
3071 | { | 3071 | { |
3072 | self.userTrackingMode = RMUserTrackingModeNone; | 3072 | self.userTrackingMode = RMUserTrackingModeNone; |
3073 | self.showsUserLocation = NO; | 3073 | self.showsUserLocation = NO; |
-
Please register or login to post a comment