how to localize address result from reverseGeocodeLocation?

前端 未结 4 1371
孤独总比滥情好
孤独总比滥情好 2021-01-31 09:55

My iphone app supposed to resolve address based on latitude and longitude of the user. reverseGeocodeLocation works fine, but results are in english.

Is there a way to l

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-31 10:24

    Mattt Thompson has a great writeup on using a method from the AddressBookUI.framework for localizing addresses on his site NSHipster. He also has a formatting library on github which contains a class for doing this type of localization which uses the AddressBookUI.framework approach he has described.

提交回复
热议问题