isAnimated
A Boolean value indicating whether the transition is explicitly animated.
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.