Instance Property

isAnimated

A Boolean value indicating whether the transition is explicitly animated.

Required.

Declaration

var isAnimated: Bool { get }

Discussion

The value of this property is false for custom transitions—transitions where the view controller's modalPresentationStyle property is set to UIModalPresentationStyle.custom—even when the transition is started by a call to the animateTransition(using:) method. In nearly all other cases, the value of this property is true.

See Also

Getting the Transition State

var initiallyInteractive: Bool

A Boolean value indicating whether the transition started as an interactive transition.

Required.

var isInteractive: Bool

A Boolean value indicating whether the transition is currently interactive.

Required.

var isCancelled: Bool

A Boolean value indicating whether an interactive transition was cancelled.

Required.

var isInterruptible: Bool

A Boolean value indicating whether the transition animations can be interrupted.

Required.