iphone mapkit drag and get center location

后端 未结 2 834
小鲜肉
小鲜肉 2021-01-06 07:48

HI,

I have a Mapview with some marker points + a marker for current location.

Now, what I want to do here is, when user drag or traverse through mapview, I w

2条回答
  •  不思量自难忘°
    2021-01-06 08:20

    Look for theMapView.region.center or theMapView.centerCoordinate (should be the same) in your MapView's delegate -mapView:regionDidChangeAnimated: method.

提交回复
热议问题