I setup both UISwipeGestureRecognizer
& UIPanGestureRecognizer
to a same view. That view has a table view. I want to execute UISwipeGestureRecognizer
when the user swipe a table cell towards left direction & want to execute UIPanGestureRecognizer
when the user touch & drag the view towards right direction.
I want to use..
UISwipeGestureRecognizer
for showing quick links on cell. (Refer this link)UIPanGestureRecognizer
for dragging the entire view. So that the user can see the below view. (Refer this link)
I learned that shouldRecognizeSimultaneouslyWithGestureRecognizer:
method of UIGestureRecognizer
can allow/protect multiple gestures in the same view. (Am I right?)
But, I really don't know how to find the direction of touch and block the gestures accordingly.
I hope, my question is different from this.
I'm just confused!!
Thanks in advance