Instance Method


Pauses a running animation at its current position.



- (void)pauseAnimation;


This method pauses running animations at their current values. Calling this method on an inactive animator moves its state to UIViewAnimatingStateActive and puts its animations in a paused state right away. To resume the animations, call the startAnimation method. If the animation is already paused, this method should do nothing. It is a programmer error to call this method while the state of the animator is set to UIViewAnimatingStateStopped.

See Also

Starting and Stopping the Animations

- startAnimation

Starts the animation from its current position.


- startAnimationAfterDelay:

Starts the animation after the specified delay.


- stopAnimation:

Stops the animations at their current positions.


- finishAnimationAtPosition:

Finishes the animations and returns the animator to the inactive 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