In ISGL3D, can we recognize only one Gesture at a time
ios, iphone, isgl3d, uigesturerecognizer
Solution
You can use this function for recognise only one Gesture at a time:
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
{
if (gestureRecognizer.view != otherGestureRecognizer.view)
return NO;
return YES;
}
Problem
I am developing an App in ISGL3D. I need to recognise only one Gesture at a time i.e. either PICNH or PAN.. Is there any way to do that??