A few weeks ago I wrote an article about how I attempted to fix the terrible swipe-to-delete animation in SwiftUI. While my solutions weren’t perfect, they were better than what SwiftUI came with. Well with the releases of iOS 14 and Xcode 12 betas, Apple has fixed swipe-to-delete. It now functions in SwiftUI just like it does in UIKit.
As you can see, the new animation looks much better. I have the iOS 14 beta on my first-gen iPhone SE and the animation has been fixed. Using the Xcode 12 beta to load the exact same code onto my iOS 13.5 iPhone X yielded the same results as Xcode 11, so iOS 14 is required for this animation.