Contents

transitionWasCancelled

Returns a Boolean value indicating whether the transition was canceled.

Declaration

var transitionWasCancelled: Bool { get }

Return Value

true if the transition was canceled or false if it is ongoing or finished normally.

Discussion

You can call this method from your animator object to determine whether the transition has been canceled. Calling the cancelInteractiveTransition() method causes this method to return true.

See Also

Reporting the transition progress