Block the pinch in a scrollview
Hi everybody, I need to block the pinch gesture of an image in a scrollview when the user reach the max or min value of scale.
I mean: when the user starts to pinch, the image starts zooming but when the max/min value of scale is reached, the zoom must stop also if the user's fingers are still moving..
Any suggestion how to do it?
I already set the max/min value of the scale (if too big/low) in scrollViewDidEndZooming.
I hope you understand my question.
|