私はAndroidの開発者がGPSの場所の正確さを得るのを見ました。 iOSで私のcurrenct GPSの位置の精度を得ることができる方法はありますか?iOSでGPS位置の精度を得ることはできますか?
私は自分の位置を取得するためにthis答えからコードを使用しています:
locationManager = [[CLLocationManager alloc] init];
locationManager.delegate = self;
locationManager.distanceFilter = kCLDistanceFilterNone;
locationManager.desiredAccuracy = kCLLocationAccuracyBest;
[locationManager startUpdatingLocation];
- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation {
NSLog(@"OldLocation %f %f", oldLocation.coordinate.latitude, oldLocation.coordinate.longitude);
NSLog(@"NewLocation %f %f", newLocation.coordinate.latitude, newLocation.coordinate.longitude);
}
はい、あなたは確かに同じ 'CLLocation'を使ってそれを行うことができます。 – AtWork