I am using UITapGestureRecognizer for double tap.When I double tab on UIButton , it works.but i want to avoid it? any built in method?
You can stop the UITapGestureRecognizer from cancelling other events (such as the tap on your button) by setting the following boolean:
[tapRecognizer setCancelsTouchesInView:NO];
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