When using gesture driven UIPercentDrivenInteractiveTransition with CABasicAnimation (or any other CAAnimation), upon finishInteractiveTransition, animation jumps to final position, rather then animating smoothly as is the case when using UIView block animation. I am trying to figure out how to animate smoothly upon finishInteractiveTransition to end when using CAAnimation.
I have now spent whole day on it. There seems to be no mention anywhere about using CAAnimation with custom VC transitions, everyone refers to UIView block based animation.
I have create a small sample project that demonstrates problem.
https://github.com/stringcode86/UIPercentDrivenInteractiveTransitionWithCABasicAnimation
Thank you to anyone who spends time looking at it. I do appreciate it.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…