Instance Property

interruptible

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

Declaration

@property(nonatomic, getter=isInterruptible) BOOL interruptible;

Discussion

When the value of this property is YES, you can use the pauseAnimation and stopAnimation: methods to interrupt the animations and make changes. When the value of this property is NO, the animations run to completion (and without interruption) after you call the startAnimation method. If you use a view property animator object to implement an interruptible view controller transition, this property must be YES.

It is a programmer error to change this property if the animator’s state property is not set to UIViewAnimatingStateInactive.

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.

userInteractionEnabled

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

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software