init(minimumDistance:coordinateSpace:)
Creates a dragging gesture with the minimum dragging distance before the gesture succeeds and the coordinate space of the gesture’s location.
Declaration
init(minimumDistance: CGFloat = 10, coordinateSpace: CoordinateSpace = .local)Parameters
- minimumDistance:
The minimum dragging distance for the gesture to succeed.
- coordinateSpace:
The coordinate space of the dragging gesture’s location.