Instance Property

userInteractionEnabled

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

Declaration

@property(nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled;

Discussion

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

See Also

Accessing the Animation Parameters

duration

The total duration (in seconds) of the main animations.

delay

The delay (in seconds) after which the animations begin.

timingParameters

The information used to determine the timing curve for the animation.

interruptible

A Boolean value indicating whether the animator is interruptible and can be paused or stopped.

manualHitTestingEnabled

A Boolean value indicating whether your app manages hit-testing while animations are in progress.

scrubsLinearly

A Boolean value indicating whether a paused animation scrubs linearly or uses its specified timing information.

pausesOnCompletion

A Boolean value that indicates whether a completed animation remains in the active state.