Generic Instance Method


Combines a gesture with another gesture to create a new gesture that recognizes both gestures at the same time.


func simultaneously<Other>(with other: Other) -> SimultaneousGesture<TapGesture, Other> where Other : Gesture



A gesture that you want to combine with your gesture to create a new, combined gesture.

Return Value

A gesture with two simultaneous gestures.

See Also

Composing Gestures

func sequenced<Other>(before: Other) -> SequenceGesture<TapGesture, Other>

Sequences a gesture with another one to create a new gesture, which results in the second gesture only receiving events after the first gesture succeeds.

func exclusively<Other>(before: Other) -> ExclusiveGesture<TapGesture, Other>

Combines two gestures exclusively to create a new gesture where only one gesture succeeds, giving precedence to the first gesture.