//共存 A手势或者B手势 代理方法里shouldRecognizeSimultaneouslyWithGestureRecognizer 有一个是返回YES,就能共存
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {
return YES;
}
网友评论