Home > front end >  How do I set an endpoint for a CAKeyFrameAnimation?
How do I set an endpoint for a CAKeyFrameAnimation?

Time:10-07

I am using an arc for a progress bar.

enter image description here

There is a track layer that the progress indicator moves along and I also have a circle that moves with the progress bar for added emphasis. Both the progress bar and the circle move correctly along the path but when the progress is complete, instead of stopping at the end of the path, the circle jumps back to the beginning of the progress path.

enter image description here

  • Related