Finishes the animations and returns the animator to the inactive state.
- iOS 10.0+
- tvOS 10.0+
The final position for any view properties. Specify
currentto leave the view properties unchanged from their current values.
After putting the animator object into the
stopped state, call this method to perform any final cleanup tasks. It is a programmer error to call this method at any time except after a call to the
stop method where you pass
false for the
without parameter. Calling this method is not required, but is recommended in cases where you want to ensure that completion blocks or other final tasks are performed.
Implementations of this method are responsible for setting the state of the animator object to
inactive and for performing any final cleanup tasks, such as executing completion blocks.