开发者

How to get the address of a latitude and longitude in an iphone application

I am getting latitude and longitude using CLLocation. I want to know how I can get the address by using this la开发者_JS百科titude and longitude. Please help me.


You can use MKReverseGeocoder class for that purpose, which uses google reverse geocoding facilities.

Update: MKReverseGeocoder class is deprecated in iOS 5, you should use CLGeocoder class from Core Location framework instead. It provides functions for both forward and reverse geocoding - check class reference for more details

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜