Instance Method

startAnimation

Starts the animation from its current position.

Required.

Declaration

- (void)startAnimation;

Discussion

Call this method to start the animations or to resume the animation after they were paused. This method sets the state of the animator to UIViewAnimatingStateActive, if it is not already there. It is a programmer error to call this method while the state of the animator is set to UIViewAnimatingStateStopped.

When implementing a custom animator, use this method to transition your animator to the active state and to run the animations. Run your animations from the progress point in the fractionComplete property. Update the state and running properties, as well as any other relevant properties of your custom animator object.

See Also

Starting and Stopping the Animations

- startAnimationAfterDelay:

Starts the animation after the specified delay.

Required.

- pauseAnimation

Pauses a running animation at its current position.

Required.

- stopAnimation:

Stops the animations at their current positions.

Required.

- finishAnimationAtPosition:

Finishes the animations and returns the animator to the inactive state.

Required.