How can I get the mkannotation position while dragging it

How can I get the coordinates of MKAnnotation while dragging it? I do not see anything in the Apple documentation that will simplify it.

+4
source share
1 answer

If you add a polyline as Overlay - there is no other way to re-add each time you change. BUT, when you move the ping along the map, its position and scale cannot be changed, so at this point you can simply add the usual view on top of the entire map view. And when you stop moving the ping, replace the fake view with the appropriate overlay. Hope this helps you.

+1
source

Source: https://habr.com/ru/post/1388403/


All Articles