2017-12-13 32 views
1

일본어로 주소를 표시하고 싶습니다. "reverseGeocodeLocation()"의 "preferredLocale"로케일을 설정해야한다는 것을 알고 있습니다. 그래서 나는 이것을 시도한다.reverseGeocoding에서 로캘을 변경하려면 어떻게해야합니까?

let location = CLLocation(latitude: latitude, longitude: longitude) 
let geocoder = CLGeocoder() 
geocoder.reverseGeocodeLocation(location, preferredLocale: Locale.init(identifier: "ja_JP"), completionHandler: { (placemark, error) -> Void in 

하지만 작동하지 않습니다. 그리고 "Info.plist"의 "Localization native development region"에서 "Japan"을 설정했습니다. 그러나 그것은 효과가 없습니다. >Options

enter image description here

- 대상에서

답변

1

Edit Scheme 내부 Application LanguageApplication Region을 수정하려고