【问题标题】:CLPlacemark addressDictionary keys on iOS 9CLPlacemark 地址 iOS 9 上的字典键
【发布时间】:2015-08-26 19:04:54
【问题描述】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-12-24
    • 1970-01-01
    • 1970-01-01
    • 2014-10-27
    • 2020-06-29
    • 2015-12-25
    相关资源
    最近更新 更多