IPHONE - horizontal finger detection in a UITableView cell

I have a UITableView with multiple cells. This table should be scrolled vertically. Thus, vertical fingers will scroll the table.

Typically, horizontal finger laying on a table provides the ability to delete this cell, for example, by mail.

I would like to detect horizontal fingers in a cell and use this to start a method that will have a table row as a parameter, and not to delete a cell.

How can I do that?

Thanks for any help.

+4
source share
1 answer

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

but since this changes the default behavior, it is not a good idea

+4
source

Source: https://habr.com/ru/post/1299667/


All Articles