Closed MichMich closed 10 years ago
Take a look at the UIGestureRecognizerDelegate
methods below:
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRequireFailureOfGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldBeRequiredToFailByGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
Hopefully they'll be the answer to your issue.
Thanks! I'll dive into it. Thumbs up!
For furture reference: I solved this issue by using
[drawerViewController registerTouchForwardingClass[UIViewSubClass class]];
My Pane viewController has a UIView subclass with the following code in the init function:
In most cases this works fine, but in some cases the Pan gesture isn't recognized by the UIView subclass, but triggers the drawer to open. The Tap gesture works in all cases without any problems. Restarting the App solves the problem, so its unclear what causes the issue.
Any idea's?