Conflict: UIScrollView in RightViewController
my RightViewController is FullScreen,and has a horizontal Scrollview,the scrollview has four pages. When in first page, swipe to right, I hope to open the CenterViewController, how to deal with the conflict pan gesture,i find a method:
"- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRequireFailureOfGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer",
but in this method implement,
" if (gestureRecognizer != self.panGesture || self.openSide != MMDrawerSideRight) { return NO; } CGPoint velocity = [self.panGesture velocityInView:self.panGesture.view];"
velocity have data in pan callback ,but in this failure method,its always 0,how can i judge the pan direction?
shouldRequireFailureOfGestureRecognizer trigger only at the very first time, maybe try to catch the actually moving/panning gesture (UIGestureRecognizerStateChanged)