Instance Property

requiresExclusiveTouchType

A Boolean indicating whether the gesture recognizer considers touches of different types simultaneously.

Declaration

var requiresExclusiveTouchType: Bool { get set }

Discussion

When the value of this property is true, the gesture recognizer automatically ignores new touches whose type does not match the type of the initial touch. When the value is false, the gesture recognizer receives all touches whose types are listed in the allowedTouchTypes property.

See Also

Recognizing Different Gestures

var allowedPressTypes: [NSNumber]

An array of press types used to distinguish the type of button press.

var allowedTouchTypes: [NSNumber]

An array of touch types used to distinguish type of touches.