Hey,
I`ve encountered the exact same issue.
Found this StackOverflow suggesting to apply the CGAffineTransform to the layer of the view instead of to the view directly. Resulting in this code:
fromView.layer.setAffineTransform( CGAffineTransform(translationX: screenWidth, y: 0))
Hope that helps!
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: