CLGeocoder和向后兼容性 [英] CLGeocoder and backward compatibility

查看:108
本文介绍了CLGeocoder和向后兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的问题。

MKReverseCoder 已弃用,自<​​strong> iOS以来无效5 即可。我们必须使用 CLGeocoder 。但是, iOS4 下有很多人。新应用如何与 iOS4和iOS5 一起使用以进行地理编码?

MKReverseCoder is deprecated and doesn't work since iOS 5. We have to use CLGeocoder. But, there are a lot of people under iOS4. How the new apps can work with iOS4 and iOS5 for geocoding ?

谢谢!

推荐答案

MKReverseGeocoder 仍适用于iOS5。它刚刚被弃用,这意味着它将在稍后被删除(就像在iOS6这样的版本发布时)。因此,您现在可以继续使用它而不会出现任何问题

MKReverseGeocoder still works with iOS5. It's just deprecated, which means it'll be removed at some later point (like at the release of something like iOS6). So you can continue to use it now without any issues

这篇关于CLGeocoder和向后兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆