duration
The overall duration (in seconds) of the transition animation.
Declaration
var duration: CGFloat { get }Discussion
This property reflects the duration of the transition animation if it were to occur without user interactions. It is obtained from the standard animator object returned by your delegate. The actual duration can vary depending on the user interactions you are tracking and responding to.