I'm using UIPinchGestureRecognizer
on view, now I have a requirement of knowing whether pinch-in is performed or pinch-out is performed in my selector method. Either of 1 among at a time. Please give me some idea to obtain this. Thank you.
Use the .scale
property on the gesture:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With