I definitely know your problem. The problem is that Twitter is not an example, Snapchat however ....
You have a root view controller that includes UIScrollView (subclasses). Inside this subclass, you want to override gesture recognizers, for example ...
-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer { if (gestureRecognizer.state != 0 && otherGestureRecognizer.state != 1) { return YES; } else { return NO; }
}
Now you can scroll through tableViewCells and not drag all 4 directions at once.
source share