Skip to content

Cannot animate strokeEnd parameter by UIViewPropertyAnimator #8

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions