HomeiOS Developmentios - Spherical delete button in tableview editStyle methodology

ios – Spherical delete button in tableview editStyle methodology


My code

func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) {
    if editingStyle == .delete {
        self.tmakeAlertDialog(title: "Whats up".localized(),
                              message: "Are you positive you wish to delete the sound?".localized(),
                              actions: [.init(title: "Yes".localized(), style: .default, handler: { _ in self.deleteSoundAction(indexPath)}),
                                        .init(title: "No".localized(), style: .default)]) { _ in }
    }
}

My TableView

enter image description here

I wish to around the delete button.

Rounding corners of delete button in UITableViewCell

I attempted this reply however sadly it did not work.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments