The total duration (in seconds) of the main animations.
- iOS 10.0+
- tvOS 10.0+
You set the duration value when creating the animator and cannot change it later. Animations added while the animator is in the inactive state are run for the specified duration. Animations added later run only for the remaining time, which is determined by the formula