Unable to provide pinch and zoom experience users expect with SwiftUI

Number:rdar://FB9162379 Date Originated:
Status:Open Resolved:
Product:SwiftUI Framework Product Version:
Classification: Reproducible:
I'd like to provide the ability for users to pinch/zoom on a SwiftUI `ScrollView` for my custom content (it's a tree of nodes). Think like maps allows you to pinch and zoom in one gesture, where as you pan the content stays under your fingers, keeping you connected to it. This gesture feels so natural that when it's different it feels completely broken. Unfortunately I haven't found a way to provide this experience in SwiftUI.

We have `MagnificationGesture` but this doesn't supply `translation` information. Combining a `DragGesture` doesn't work either. If we had a single gesture that provided magnification and translation information then I think we could accomplish the behaviour users expect.

There is a related post on the forums from last year here https://developer.apple.com/forums/thread/651115


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!