An interface for modifying an animation while it is running.
SDKs
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- UIKit
Declaration
protocol UIViewImplicitlyAnimating
Overview
Animator objects used in interruptible view controller transitions adopt the UIView
protocol to modify in-flight transition animations. This protocol also conforms to the UIView
protocol, which specifies methods for starting and stopping animations and for updating their state.
The UIView
class adopts this protocol and implements all of its methods. You can adopt this protocol in your own classes to implement custom animator objects. When adopting this protocol, it is recommended that you implement all of the methods.