2014-12-01 56 views
0

當我將MKMapView的userTrackingMode設置爲MKUserTrackingModeFollowWithHeading時,我的應用程序一次又一次地顯示我的羅盤校準。如何防止它呢? 這是我的locationManager的初始化。如何防止iPhone在目標C中出現校準指南針?

self.locationManager = [[CLLocationManager alloc] init]; 
self.locationManager.desiredAccuracy = kCLLocationAccuracyBest; 
self.locationManager.distanceFilter = 5; 
self.locationManager.delegate = self; 
self.locationType = LocationManagerTypeNone; 
+0

既然你想標題使用指南針和指南針需要校準,你不能真的阻止它 – rckoenes 2014-12-01 15:52:55

回答