Instance Property

allowedTouchTypes

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

Declaration

@property(nonatomic, copy) NSArray<NSNumber *> *allowedTouchTypes;

Discussion

This property is an array of touch types that recognizes whether the touch is direct or indirect. For a list of all possible touch types, see UITouchType enumeration in UITouch. The default value of this property contains all touch types.

See Also

Recognizing Different Gestures

allowedPressTypes

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

requiresExclusiveTouchType

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