开发者

Make 2 doLogs display on the same line

- (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFindPlace开发者_Python百科mark:(MKPlacemark *)placemark
{
[self doLog:[placemark.thoroughfare description]]; [self doLog:[placemark.locality description]];
if ([geocoder retainCount]) [geocoder release];
}

Displays as:

Text on 2 lines http://cl.ly/035ae51f333a35e79342/content

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


[self doLog:[NSString stringWithFormat:@"%@ %@", placemark.thoroughfare, placemark.locality]];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜