Is there a way to add this icon to a UITableViewRowAction
when a UITableView
's UITableViewCell
is swiped right, without setting the patternImage
of the UITableViewRowAction
's background?
i.e. add access this icon:
into the following code:
func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction]? {
let delete = UITableViewRowAction(style: .destructive, title: "", handler: {})
}