开发者

How to determine the x/y screen location of the blue dot representing your current location in iOS?

Playing around with MapKit and I'm wondering ...

Is it possible to determine where on the screen (the x and开发者_JS百科 y) the blue dot representing your location sits as you move the map around?

I recognize it starts out in the center of the screen ... but if you start to move the map it sticks with it.

Thanks -wg


Call [map convertCoordinate:toPointToView:] to convert map.userLocation.location.coordinate to the coordinate system of a view of your choice.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜