Instance Property


The overall duration (in seconds) of the transition animation.


var duration: CGFloat { get }


This property reflects the duration of the transition animation if it were to occur without user interactions. It is obtained from the standard animator object returned by your delegate. The actual duration can vary depending on the user interactions you are tracking and responding to.

See Also

Accessing Transition Attributes

var timingCurve: UITimingCurveProvider?

The timing curve to use when driving the animations.

var completionCurve: UIView.AnimationCurve

Indicates the animation completion curve for an interactive transition.

var percentComplete: CGFloat

The amount of the transition (specified as a percentage of the overall duration) that is complete.

var completionSpeed: CGFloat

The speed of the transition animation.

var wantsInteractiveStart: Bool

A Boolean value indicating whether the animations are interactive initially.