Answers for "swiftui hide back button disable swipe"

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 "Swift"

Browse Popular Code Answers by Language