init(minimumScaleDelta:inputKinds:)
Creates a magnify gesture with a given minimum delta for the gesture to start, and the input kinds the gesture recognizes.
Declaration
nonisolated init(minimumScaleDelta: CGFloat = 0.01, inputKinds: GestureInputKinds = .all)Parameters
- minimumScaleDelta:
The minimum scale delta required before the gesture starts.
- inputKinds:
A set of input kinds that this gesture recognizes. If not specified, the gesture will recognize all applicable input kinds that a person can use to perform it.