0

How to detect number of finger interaction with Gesture in SwiftUI Gesture. With UIKit we can find number of find it from

        let numberOfTouches = panGestureRecognizer.numberOfTouches

Any thought?

Santosh Singh
  • 765
  • 11
  • 27

1 Answers1

0

I am able to find my solution using UIKit UIView. Actually made container view(UIVIewRepresentable) which implements the PanGesture. I have used this view to to hold SwiftUI view. I can easily find and able to handle Panning behaviour.

Santosh Singh
  • 765
  • 11
  • 27