Finishes the animations and returns the animator to the inactive state.
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
The final position for any view properties. Specify
UIViewto leave the view properties unchanged from their current values.
Animating Position .current
After putting the animator object into the
UIView 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
UIView and for performing any final cleanup tasks, such as executing completion blocks.