开发者

MKMapView: getting latiude and longitude for a point

I'm developing an iPhone application and I want to know the location on a MkMapView where the user has touch.

I have a MKMapView that fills the screen. When the user touch over the map, I need to know the location of the开发者_运维技巧 point the user has touched. Is that possible?

Thank you.


Check out the instance method convertPoint:toCoordinate.

http://developer.apple.com/iphone/library/documentation/MapKit/Reference/MKMapView_Class/MKMapView/MKMapView.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜