-(void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFindPlacemark:(MKPlacemark *)placemark { NSLog(@"Country = %@", placemark.country); NSLog(@"Postal Code = %@", placemark.postalCode); NSLog(@"Locality = %@", placemark.locality); NSLog(@"address = %@",placemark.name); NSLog(@"administrativeArea = %@",placemark.administrativeArea); NSLog(@"subAdministrativeArea = %@",placemark.subAdministrativeArea); NSLog(@"locality = %@", placemark.locality); NSLog(@"thoroughfare = %@", placemark.thoroughfare); }
NSLog(@"省 = %@", [placeMark.addressDictionary objectForKey:@"State"]); // 省直辖市
NSLog(@"市 = %@", [placeMark.addressDictionary objectForKey:@"City"]); // 市
NSLog(@"区 = %@", [placeMark.addressDictionary objectForKey:@"SubLocality"]); // 区