Contents

isUserInteractionEnabled

A Boolean value indicating whether views receive touch events while animations are running.

Declaration

var isUserInteractionEnabled: Bool { get set }

Discussion

When the value of this property is true, touch events are delivered to views normally. Setting this property to false causes touch events to be ignored in animated views for the duration of the animations. The default value of this property is true.

See Also

Accessing the animation parameters