【问题标题】:CLPlacemark addressDictionary keys on iOS 9CLPlacemark 地址 iOS 9 上的字典键
【发布时间】:2024-01-02 06:57:01
【问题描述】:

Reading the documentation,Apple 指向ABPerson 用于在CLPlacemarkaddressDictionary 上使用的密钥。

但从 iOS 9 开始,ABPerson 已被弃用。

还有其他东西可以用来做钥匙吗?

【问题讨论】:

标签: ios core-location ios9 abperson clplacemark


【解决方案1】:

我能够找出其中一些问题来解决我一直遇到的问题:

@"City" -> CLPlacemark.city
@"State" -> CLPlacemark.administrativeArea
@"Country" -> CLPlacemark.country

查看我的问题here

【讨论】:

    最近更新 更多