I am trying to perform some really basic keyframe animations, and contrary to the documentation and options I pass in, the animation is never perfectly linear.
If you look at this recording, you'll see that the first and last movements are definitely slower/eased, even though I'm specifying a linear curve. This makes it hard to chain animations because you always notice a speed decrease somewhere.
This is the maximum option set I can think of/try. Does anyone have any other suggestions, or is it not possible to change this behaviour in keyframe animations?
UIView.animateKeyframes(withDuration: 4, delay: 0, options:
[.layoutSubviews, .overrideInheritedOptions, .beginFromCurrentState, .calculationModeLinear]) { ... }