How to disable Pinch gesture completely in iphone?
Domanda
I cannot use userInteractionEnabled as it is a map and I need it to be enabled.
Soluzione
Route me doesn't use gesture recognizers. Look at the event handling section of RMMapView to see how they handle touch events. I saw a couple references to "zoom" in there.
Altri suggerimenti
If you want to turn off pinching on a map, then why not just set the zoomEnabled
property of MKMapView
to NO
?
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow