Reading the documentation ,苹果指向ABPerson在 CLPlacemark
的 addressDictionary
上使用的键。
但自 iOS 9 以来,ABPerson
已被弃用。
还有其他东西可以用来做 key 吗?
最佳答案
我能够找出其中的一些来解决我一直遇到的问题:
@"City" -> CLPlacemark.city
@"State" -> CLPlacemark.administrativeArea
@"Country" -> CLPlacemark.country
看我的问题here .
关于ios - CLPlacemark 地址iOS 9 上的字典键,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32234719/