CKShapeView icon indicating copy to clipboard operation
CKShapeView copied to clipboard

Cannot animate strokeEnd parameter by UIViewPropertyAnimator

Open ghost opened this issue 7 years ago • 0 comments

I use this code to animate Shape self.animator = UIViewPropertyAnimator(duration: 45.0, curve: .linear) { self.animationShape!.strokeEnd = 1.0 } self.animator.startAnimation() and after startAnimation() line just jumped to last position without animation. Also, with UIView.animateWithDuration i don't have any problem in this case but I need to use UIViewPropertyAnimator to start and pause animation

ghost avatar Jul 12 '18 15:07 ghost