【发布时间】:2013-12-21 17:42:32
【问题描述】:
我在 iPhone 上使用 CLLocationManager 来获取当前用户位置,然后我使用 reverseGeocodeLocation 将位置转换为地址。
这工作正常,但结果以设备语言返回,我需要它们始终为英文。
有没有办法以所需语言获取地址字符串或对其进行转换?
[geocoder reverseGeocodeLocation:currentLocation completionHandler:^(NSArray *placemarks, NSError *error) {
NSLog(@"Found placemarks: %@, error: %@", placemarks, error);
if (error == nil && [placemarks count] > 0) {
placemark = [placemarks lastObject];
}
【问题讨论】:
标签: ios xcode core-location