PROBLEM
By running the same code on iOS10 and iOS11, my UIViewPropertyAnimator has a different behavior right after changing its property .isReversed.
Everything is fine on iOS10. Animation issue happens on iOS11
CONDITIONS
This is true for any animations, not only for a specific one, but also for verification, both when viewing the animation and in the code. This happens both on simulators and on real devices.
DETAILS
creating UIViewPropertyAnimator with its animation, during his run, I just call .pauseAnimation()and modify the properties .isReversedon to true . After that, I resume the animation:
continueAnimation(withTimingParameters parameters: UITimingCurveProvider?, durationFactor: CGFloat)
at this moment, on iOS10, the animation smoothly changes its verse; on iOS11, it immediately stops and reverses itself with a delay in bit frames.
.fractionComplete ( UIViewPropertyAnimator, , 0.0 1.0)
.continueAnimation(...
- iOS 10 , , .
- iOS 11
, , UIViewPropertyAnimator, , iOS10
, - !?
: , iOS 11.0.1 iOS 11.1 beta1
, !