Instance Property


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


var allowedPressTypes: [NSNumber] { get set }


This property is an array of UIPressTypes that activates the gesture recognizer to distinguish the type of button press. The default press type is When this property is set to an empty array, the gesture recognizer will respond to taps like a touch pad like surface. For a list of possible press types, see UIPress.PressType enumeration in the UIPress.

See Also

Recognizing Different Gestures

var allowedTouchTypes: [NSNumber]

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

var requiresExclusiveTouchType: Bool

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