I m working with iOS 4 and working with UIGestureRecognizer .
my question is how can you create / detect a rub gesture on a table view cell . By rub gesture i mean how can i detect a right followed by a left swipe . i know how to detect left and right swipes individually and also on detecting it i know how to enable the editing for a single table view cell on which the swipe is made .. The main question is how to detect right swipe followed by left swipe or a left swipe followed by righ开发者_如何学编程t swipe.
All ideas are welcomed.
Use a very simple state machine to implement the sequence of swipes both ways.
精彩评论