simultaneously(with:)
Combines a gesture with another gesture to create a new gesture that recognizes both gestures at the same time.
Declaration
nonisolated func simultaneously<Other>(with other: Other) -> SimultaneousGesture<Self, Other> where Other : GestureParameters
- other:
A gesture that you want to combine with your gesture to create a new, combined gesture.
Return Value
A gesture with two simultaneous gestures.