UITableView, intercepting Edit mode

后端 未结 4 939
-上瘾入骨i
-上瘾入骨i 2021-02-13 13:59

I\'m curious if it\'s possible to intercept the default methods of \'Edit\' mode on a UITableView. Typically you get a free \'delete\' button if you side swipe a UITableViewCell

4条回答
  •  粉色の甜心
    2021-02-13 14:58

    I would implement a subclass of UITableViewCell and handle touch events in there. You would likely have to do all the animation stuff yourself, but I think it's probably the easiest solution. There's not a "Supported" method for changing the delete button, I don't think

提交回复
热议问题