Instance Property

isMultipleTouchEnabled

A Boolean value that indicates whether the receiver handles multi-touch events.

Declaration

var isMultipleTouchEnabled: Bool { get set }

Discussion

When set to true, the receiver receives all touches associated with a multi-touch sequence. When set to false, the receiver receives only the first touch event in a multi-touch sequence. The default value of this property is false.

Other views in the same window can still receive touch events when this property is false. If you want this view to handle multi-touch events exclusively, set the values of both this property and the isExclusiveTouch property to true.

See Also

Configuring the Event-Related Behavior

var isUserInteractionEnabled: Bool

A Boolean value that determines whether user events are ignored and removed from the event queue.

var isExclusiveTouch: Bool

A Boolean value that indicates whether the receiver handles touch events exclusively.