Class
CAMediaTimingFunction
A function that defines the pacing of an animation as a timing curve.
SDKs
- iOS 2.0+
- macOS 10.5+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
Overview
CAMediaTimingFunction
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 [0,1]
.
You can create a media timing function by supplying your own cubic Bézier curve control points using the init(controlPoints:_:_:_:)
method or by using one of the predefined timing functions.
Topics
Creating Timing Functions
Accessing the Control Points
See Also
Animation Timing
protocol CAMediaTiming
Methods that model a hierarchical timing system, allowing objects to map time between their parent and local time.
class CADisplayLink
A timer object that allows your application to synchronize its drawing to the refresh rate of the display.
Beta Software
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software