iPhone: Detecting Tap in MKMapView

后端 未结 8 1447
天命终不由人
天命终不由人 2020-12-24 07:35

How do I detect a single tap on an instance of MKMapView? Do I have to subclass MKMapView and then override the touchesEnded method?

8条回答
  •  情深已故
    2020-12-24 07:52

    You cant at this time intercept touches on a map view, you can try layering an opaque view on there and see if it picks up touches...

提交回复
热议问题