Instance Property

completionCurve

Returns the completion curve associated with the transition.

Required.

Declaration

var completionCurve: UIView.AnimationCurve { get }

Return Value

The completion curve for the view controller transition. For a list of possible values, see the UIView.AnimationCurve type.

Discussion

The completion curve defines the timing of the animations. For interactive transitions, this value is usually obtained from the completionCurve property of the interactive animator object. Use this value when configuring your own animations if you want the same timing as the main transition.

See Also

Getting the Behavior Attributes

var presentationStyle: UIModalPresentationStyle

Returns the presentation style being used for the transition.

Required.

var transitionDuration: TimeInterval

Returns the noninteractive duration of a transition.

Required.

var completionVelocity: CGFloat

Returns the starting velocity to use for any final animations.

Required.

var percentComplete: CGFloat

Returns the percentage of completion for an interactive transition when it moves to its noninteractive phase.

Required.