Cubic keyframe values are interpolated to produce an even pace throughout the animation.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
kCAAnimationCubicPaced gives a linearly interpolated animation, but
timingFunction are ignored and keyframe times are automatically generated to give the animation a constant velocity.
Listing 1 shows how to create a keyframe animation object using paced cubic interpolation.
A layer animated with the keyframe animation created by the code above and with linearly interpolated horizontal movement would describe a path similar to Figure 1.