MKReverseGeocoder * geoCoder = [[[MKReverseGeocoder alloc] initWithCoordinate: coordinate2D] autorelease];
geoCoder.delegate = self;
[GeoCoder start];
- (Void) reverseGeocoder: (MKReverseGeocoder *) geocoder didFindPlacemark: (MKPlacemark *) placemark
{
NSString * local = placemark.locality;
if (local) {
NSString * address = [NSString stringWithFormat: @ "% @% @% @% @% @% @",
placemark.country,
placemark.administrativeArea,
placemark.locality,
placemark.subLocality,
placemark.thoroughfare,
placemark.subThoroughfare];
NSLog (@ "corresponding latitude and longitude details:% @", address);
}
}
Q: Why address phonetic values are taken to it, rather than Chinese? ? For example, the value of placemark.country get is China, the value of placemark.administrativeArea get is guangdong.
Reply:
Reply:
You put the device into a Chinese region yet? Common - "multi-language environment -" Regional format
Reply:
Thanks for replying, problem solved
No comments:
Post a Comment