开发者

UITableView differentiate between swiping from left-to-right & right-to-left

开发者 https://www.devze.com 2023-01-12 20:36 出处:网络
How to differentiate between swi开发者_JAVA技巧ping from left-to-right & right-to-left in a UITableView cell.

How to differentiate between swi开发者_JAVA技巧ping from left-to-right & right-to-left in a UITableView cell.

Anyone has some ideas?


If you are targeting an OS > 3.2, you can use your own gesture recognizers. Otherwise, you can override touches moved in your UITableView or cell and evaluate the delta to determine swipe direction.

0

精彩评论

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