Disable double tap zoom in MKMapView (iOS 6)

后端 未结 5 940
清歌不尽
清歌不尽 2021-01-12 17:57

in ios 5 i was able to disable the double tap zoom by just overriding it with a new double tap gesture. But it seems that the double tap gesture is no longer in the gesturer

5条回答
  •  独厮守ぢ
    2021-01-12 18:24

    Do you want to let the user do anything with the view? If not, it sufficient to set userInteractionEnabled to NO. If so, what specific interactions do you need to allow? Everything but double-tapping? Why disable that one interaction?

    The more we know about your use case, the better the answers we can provide.

提交回复
热议问题