Values between two keyframes are interpolated linearly.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Given a sequence with the key values of
[5, 1, 10, 0] and times of
[0, 0, linear interpolation produces a set of values that follow a series of straight lines between each keyframe.