duration
The total playback time of the animation.
Declaration
var duration: TimeInterval { get }Discussion
The framework sets a value for this property depending on the underlying animation data and the specified speed.
You can override the default duration by defining trimStart, trimEnd, or trimDuration.