开发者

IPHONE - detecting horizontal finger swipe on a UITableView cell

开发者 https://www.devze.com 2022-12-18 14:09 出处:网络
I have a UITableView with several cells. This table is to be scrolled vertically. So, vertical finger swipes will scroll the table.

I have a UITableView with several cells. This table is to be scrolled vertically. So, vertical finger swipes will scroll the table.

Normally an horizontal finger swipe on a table will present an option to delete that cell, like it is开发者_如何转开发 on mail.

I would like to detect horizontal finger swipes on a cell and use this to trigger a method that will have the table row as a parameter, not to delete the cell.

How can this be done?

thanks for any help.


here is an implementation http://forums.macrumors.com/showthread.php?t=532573

but as this changes a default ui behavior its not a very good idea

0

精彩评论

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