transitionDuration
Returns the noninteractive duration of a transition.
Declaration
var transitionDuration: TimeInterval { get }Return Value
The expected duration, in seconds, of the view controller transition, if it proceeds noninteractively.
Discussion
The transition duration defines the time for the main transition to finish. Use this value when configuring your own animations if you want them to end at the same time as the main transition.