我想知道如何比这更快地检测到“滑动”?一旦用户将手指向左移动,我想调用一个方法。让我们称之为“小”滑动手势。
这将是正常/长滑动......</p>
UISwipeGestureRecognizer *recognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipeFrom:)];
recognizer.direction = UISwipeGestureRecognizerDirectionLeft;
[scrollView addGestureRecognizer:recognizer];
[recognizer release];
[scrollView delaysContentTouches];