开发者

how to recognize a rub gesture on UITableView?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜