The current state of the animation.
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
This property reflects the current state of the animation. An animator object starts in the
UIView state. Calling the
pause method changes the state to
UIView. Changing the
fraction property also moves the animator to the active state. The animator remains in the active state until its animations finish, at which point it moves back to the inactive state.
stop method changes the state of the animator to
UIView. When in this state, the animations are stopped and cannot be restarted until you call the
finish method, which returns the animator to the inactive state.