Crash with tableView.deleteRows(at:, with:)
问题 I have an erratic problem with an app I'm developing. I have an array of tracks that is displayed in a table view. In this table view a user can swipe a single track left and a menu with three items appears. One of which is a delete action. It is with this action I have a problem. The menu is implemented in the UITableViewDelegate method: override func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction]? I retrieve the selected row with the