I\'d like to disable two-finger scrolling in my UIScrollView. I subclassed it and tweaked its built-in gesture recognizers with the following code:
UIScrollView
if you are using iOS SDK over 5.0, maybe you can use ui pan gesture recognizer directly.
@property (strong, nonatomic) IBOutlet UIScrollView *scrollView; ...... [self.scrollView.panGestureRecognizer setMinimumNumberOfTouches:1]; [self.scrollView.panGestureRecognizer setMaximumNumberOfTouches:1];