Remove all view gesture recognizers
for (UIGestureRecognizer *gr in aView.gestureRecognizers) {
[aView removeGestureRecognizer:gr];
}
Written by Juan Felipe Alvarez Saldarriaga
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Objc
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#