Create custom delete button for uitableview

I am working on an ios application, and my question is how to change the default button on a swipe to delete to uitableview. I see, I can change the text with titleForDeleteConfirmationButtonForRowAtIndexPath, but I want to completely change the image. ive looked around and all posts about this might be outdated, so I just want to confirm people before I continue this. What they need to do is add a gesture recognizer to the cells themselves to catch users, scroll through the individual cells, and then add to their custom button and re-arrange the cell frame from there and just forget about the default box to delete completely. how is that sound?

+6
source share
1 answer

Here is a great open source class for this, based on the behavior of the Twitter application:

https://github.com/thermogl/TISwipeableTableView

+5
source

All Articles