A function that defines the pacing of an animation as a timing curve.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Core Animation
CAMedia represents one segment of a function that defines the pacing of an animation as a timing curve. The function maps an input time normalized to the range
[0,1] to an output time also in the range
You can create a media timing function by supplying your own cubic Bézier curve control points using the
init(control method or by using one of the predefined timing functions.