开发者

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

开发者 https://www.devze.com 2023-01-07 05:38 出处:网络
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?

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

精彩评论

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