Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-08-09 11:40:50 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:21:43 +0300
commit3982c2edebe34c1b9d0769b25f2f62fd93102ba9 (patch)
tree0a2ed1307d89e6a05ab92cbf3308f3b4daab6870
parent24b338af723be3eab1cce208fb3020cb58728355 (diff)
[ios] Closes #308 - Display compass calibration alert
-rw-r--r--platform/apple_location_service.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/apple_location_service.mm b/platform/apple_location_service.mm
index ce65bc3b97..c083299fe3 100644
--- a/platform/apple_location_service.mm
+++ b/platform/apple_location_service.mm
@@ -180,6 +180,12 @@ public:
}
}
+// Display compass calibration dialog automatically
+- (BOOL)locationManagerShouldDisplayHeadingCalibration:(CLLocationManager *)manager
+{
+ return YES;
+}
+
@end
location::LocationService * CreateAppleLocationService()