Linear pacing, which causes an animation to occur evenly over its duration.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- Core Animation
This is a Bézier timing function with the control points (0.0,0.0) and (1.0,1.0).
Listing 1 shows how to create a basic animation object using linear interpolation.
A layer animated with the animation created by the code above and with linearly interpolated horizontal movement would describe a path similar to Figure 1.