views:

8

answers:

1
- (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFindPlacemark:(MKPlacemark *)placemark
{
[self doLog:[placemark.thoroughfare description]]; [self doLog:[placemark.locality description]];
if ([geocoder retainCount]) [geocoder release];
}

Displays as:

Text on 2 lines

How can I make this work so that I can display these (thoroughfare & locality) the same line?

+1  A: 
[self doLog:[NSString stringWithFormat:@"%@ %@", placemark.thoroughfare, placemark.locality]];
mipadi
I get a "Reverse Geocoder error: Error Domain=MKEditorDomain Code=4 'Operation could not be completed. (MKErrorDomain error 4.)'"
Taylor Satula
Nevermind i reloaded it and it worked! You are a godsent.
Taylor Satula