Is it impossible to use custom view in delete action ( swipe button ) on UITableViewCell?

121 Views Asked by At

Currently, I want to use custom view on swiping delete action like this My custom view

Is it impossible to do that?

For now,I use function trailingSwipeActionsConfigurationForRowAt for custom icon image and title but I have no idea how to round corner of its background.

Thank you

1

There are 1 best solutions below

0
Syed Asad Ali Kazmi On

I'm not sure about custom views but there is a library called 'SWTableViewCell', it gives default icon for edit, delete, apply, edit. You can find similar libraries too.