1
我使用蜂窩數據獲取了錯誤的座標,但是當我使用wifi時,它獲取了正確的座標。我正在使用CLLocationManager獲取座標。我已經從一個月。提前致謝。在iOS中通過蜂窩網絡跟蹤時獲取錯誤的座標
self.locationManagerForCheckIn=[[CLLocationManager alloc] init];
self.locationManagerForCheckIn.delegate = self;
self.locationManagerForCheckIn.distanceFilter = kCLDistanceFilterNone;
self.locationManagerForCheckIn.desiredAccuracy = kCLLocationAccuracyBest;
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0)
[self.locationManagerForCheckIn requestWhenInUseAuthorization];
[self.locationManagerForCheckIn startUpdatingLocation];
喜請檢查該http://stackoverflow.com/a/9954020/2910061 – ilesh