Initializes the animator with a built-in UIKit timing curve.
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
The duration of the animation, in seconds.
The UIKit timing curve to apply to the animation.
The block containing the animations. This block has no return value and takes no parameters. Use this block to modify any animatable view properties. When you start the animations, those properties are animated from their current values to the new values using the specified animation parameters.
An initialized animator object or
nil if the object could not be created.
Use this method to create an animator object that uses the existing UIKit timing curves to control the animation behavior. Standard UIKit timing curves include
UIView among others.