Pan Toggle Gesture

The Pan Toggle Gesture patch recognizes a pan gesture, and toggles between two states when the gesture finishes. Upon recognizing that a pan gesture has occurred, it will cancel all other interactions on the view or its subviews.

Pan Gestures are commonly used to recognize panning actions on top of views that already have interactions. (e.g. Recognizing when the user is trying to pan a tappable button.)