|
@@ -3103,7 +3103,10 @@ |
|
@@ -3103,7 +3103,10 @@ |
3103
|
[_locationManager stopUpdatingHeading];
|
3103
|
[_locationManager stopUpdatingHeading];
|
3104
|
|
3104
|
|
3105
|
if (self.userLocation)
|
3105
|
if (self.userLocation)
|
|
|
3106
|
+#pragma clang diagnostic push
|
|
|
3107
|
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
3106
|
[self locationManager:_locationManager didUpdateToLocation:self.userLocation.location fromLocation:self.userLocation.location];
|
3108
|
[self locationManager:_locationManager didUpdateToLocation:self.userLocation.location fromLocation:self.userLocation.location];
|
|
|
3109
|
+#pragma clang diagnostic pop
|
3107
|
|
3110
|
|
3108
|
if (_userLocationTrackingView || _userHeadingTrackingView || _userHaloTrackingView)
|
3111
|
if (_userLocationTrackingView || _userHeadingTrackingView || _userHaloTrackingView)
|
3109
|
{
|
3112
|
{
|
|
@@ -3192,7 +3195,10 @@ |
|
@@ -3192,7 +3195,10 @@ |
3192
|
[self zoomByFactor:exp2f(3 - [self zoom]) near:self.center animated:YES];
|
3195
|
[self zoomByFactor:exp2f(3 - [self zoom]) near:self.center animated:YES];
|
3193
|
|
3196
|
|
3194
|
if (self.userLocation)
|
3197
|
if (self.userLocation)
|
|
|
3198
|
+#pragma clang diagnostic push
|
|
|
3199
|
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
3195
|
[self locationManager:_locationManager didUpdateToLocation:self.userLocation.location fromLocation:self.userLocation.location];
|
3200
|
[self locationManager:_locationManager didUpdateToLocation:self.userLocation.location fromLocation:self.userLocation.location];
|
|
|
3201
|
+#pragma clang diagnostic pop
|
3196
|
|
3202
|
|
3197
|
[self updateHeadingForDeviceOrientation];
|
3203
|
[self updateHeadingForDeviceOrientation];
|
3198
|
|
3204
|
|
|
@@ -3515,7 +3521,10 @@ |
|
@@ -3515,7 +3521,10 @@ |
3515
|
|
3521
|
|
3516
|
attributionViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl;
|
3522
|
attributionViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl;
|
3517
|
|
3523
|
|
|
|
3524
|
+#pragma clang diagnostic push
|
|
|
3525
|
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
3518
|
[_viewControllerPresentingAttribution presentModalViewController:attributionViewController animated:YES];
|
3526
|
[_viewControllerPresentingAttribution presentModalViewController:attributionViewController animated:YES];
|
|
|
3527
|
+#pragma clang diagnostic pop
|
3519
|
}
|
3528
|
}
|
3520
|
}
|
3529
|
}
|
3521
|
|
3530
|
|