Is it is possible to add spacing between the UITableViewCell and UITableViewRowAction and is possible to add corner radius to UITableViewRowAction as per attached UI. Find attachment Here!!
Asked
Active
Viewed 146 times
2 Answers
0
Directly you cannot add space between UITableViewCells.You should use some tricky points to achieve this.I think you can get an idea from this.

Dilan
- 2,610
- 7
- 23
- 33
-
Is it possible to add UIView inside UITableViewRowAction? – Parthee Vs Apr 01 '20 at 12:28
-
You can add image inside UITableViewRowAction, but not UIView. – Catherine Apr 01 '20 at 12:56
0
You can access that view like that:
override func layoutSubviews() {
super.layoutSubviews()
if let deleteView = tableView.subviews
.first(where: { $0.classForCoder.description() == "UISwipeActionPullView" }) {
deleteView.layer.cornerRadius = 10
}
}
PS! Might not be future proof, if apple changes anything. Maybe helps you.

Samps
- 799
- 6
- 12