I've been using tableView.moveRow(at: IndexPath, to: IndexPath)
to move rows by swipe to the top of the table view for the previous iOS versions:
tableView.moveRow(at: indexPath, to: IndexPath(row: 0, section: 0))
The action was performed by moving the row with a nice animation which came for free:
"For rows that are moved, the moved row animates straight from the starting position to the ending position." - Apple Developer Documentation
I've found that the animation in iOS 13 is limited to the other rows moving down to make space, while the moving row will disappear and reappear on the top of the table view.
Is there a different way to perform this in iOS 13? It still works fine under iOS 12 or lower.