Learn Courses My Dashboard

Panning Gesture

I am trying to pan around an image that I have zoomed into using the MagnificationGesture() but have been unable to find a Swift example of panning. There are examples using UIKit but I am hopeful that there is a way to do this using SwiftUI. Any help is appreciated