9

geocodeAddressString:completionHandler:CLPlacemarks の配列を返すメソッドを使用しています。緯度、経度、ニーモニック名、半径を取得する必要があります。最初の 3 つを取得するのは簡単ですが、

double lat = placemark.location.coordinate.latitude;
double lng = placemark.location.coordinate.longitude;
NSString *name = [NSString stringWithFormat:@"%@", ABCreateStringWithAddressDictionary(placemark.addressDictionary, NO)]

placemark.region.radius推奨されていないため、半径を取得する方法がわかりません。代わりに今何を使用するかについてのアイデアはありますか? ドキュメントで十分に興味深いものを見つけることができません。

4

1 に答える 1