- (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFindPlacemark:(MKPlacemark *)placemark
{
[self doLog:[placemark.thoroughfare description]]; [self doLog:[placemark.locality description]];
if ([geocoder retainCount]) [geocoder release];
}
显示为:
Text on 2 lines http://cl.ly/035ae51f333a35e79342/content
我如何才能完成这项工作,以便我可以在同一条线上显示这些(通路和地点)?
答案 0 :(得分:1)
[self doLog:[NSString stringWithFormat:@"%@ %@", placemark.thoroughfare, placemark.locality]];