Question : disable swipe to delete swift
Answered by : mobile-star
override func tableView(tableView: UITableView, editingStyleForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCellEditingStyle { if tableView.editing { return UITableViewCellEditingStyle.Delete } return UITableViewCellEditingStyle.None
}
Source : | Last Update : Sat, 04 Apr 20