MapView Annotation not dragging

后端 未结 4 1673
渐次进展
渐次进展 2021-01-13 13:46

I am trying to implement a draggable \"pin\" (actually a custom icon) in a map view. This is the delegate code that I have:

  -(MKAnnotationView *) mapView:(         


        
4条回答
  •  鱼传尺愫
    2021-01-13 14:42

    if you are using a subview of MKPinAnnotationView and are overriding setSelected(), make sure you call super.setSelected()

提交回复
热议问题