Adjusts the timing and duration of a paused animation.
- iOS 10.0+
- tvOS 10.0+
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
durationvalue 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
is property is set to
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.