Instance Method


Adjusts the timing and duration of a paused animation.


- (void)continueAnimationWithTimingParameters:(id<UITimingCurveProvider>)parameters durationFactor:(CGFloat)durationFactor;



The new timing information to apply to the animation. The animator may transition from the previous timing curve to the new timing curve over time to keep the transition from becoming too jarring. For example, if the previous timing curve used a spring animation, the animator may add some of spring behavior to the new animation.


A multiplying factor to apply to the animation’s original duration. The value of this parameter is multiplied by the original duration value to obtain the new duration for the animations.


This method overrides the timing and duration parameters for the current animations. When calling this method, the animator must be active and currently paused. It is a programmer error to call this method when the animator is inactive, running, or its interruptible property is set to NO.

This method overrides the original timing and duration values only until the current animations finish. The original timing and duration values are restored when the animator transitions back to the inactive state.

See Also

Modifying Animations

- addAnimations:

Adds the specified animation block to the animator.

- addAnimations:delayFactor:

Adds the specified animation block with a delay.

- addCompletion:

Adds the specified completion block to the animator.