title: UITableView trailing swipe short vs long or return cell after long swipe
body: <p>In my table view I implement the <code>func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -&gt; UISwipeActionsConfiguration?</code> to provide deleting functionality. I want to confirm the deletion so I show an <code>UIAlertController</code> with a Delete or Cancel prompt. When the user decides to cancel, the cell is supposed to revert back to not editing. Normally this works by calling <code>tableView?.setEditing(false, animated: true)</code>, however this does not work for a long swipe.</p>
  
  <p>Ideally I would like to have <code>tableView?.setEditing(false, animated: true)</code> work even when the cell has been fully swiped.</p>
  
  <p>Other option is to simply omit the confirmation for a full swipe, but then I need a way to figure out whether was a swipe long or short.</p>
  
  <p>What's the way how to achieve either of these outcomes?</p>
  
  <p>Thanks</p>