Answers for "swipe to delete ios swift"

1

disable swipe to delete swift

override func tableView(tableView: UITableView, editingStyleForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCellEditingStyle {
    if tableView.editing {
        return UITableViewCellEditingStyle.Delete
    }
    return UITableViewCellEditingStyle.None
}
Posted by: Guest on March-28-2020

Code answers related to "swipe to delete ios swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language