开发者

UITableView swipe to delete with no confirmation

开发者 https://www.devze.com 2023-01-06 17:11 出处:网络
Quick question about swipe to delete feature in UITableView - is the开发者_开发技巧re a way to just go ahead and delete the row without showing the Delete button and waiting for user\'s confirmation?I

Quick question about swipe to delete feature in UITableView - is the开发者_开发技巧re a way to just go ahead and delete the row without showing the Delete button and waiting for user's confirmation?


Implement your custom UITableViewCell and make use of UISwipeGestureRecognizer. You'll have to write all your logic (protocol, delegate etc.) on your own, but you will have it totally customizable.


You can do it by your own code.

Take one button and on click of that delete the selected row from UiTableView

0

精彩评论

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

关注公众号