I want to animate the position of a CALayer based on a CGPath, but I want to play it backwards.
Is there any way to animate a path backwards, or reverse a CGPath?
I want to animate the position of a CALayer based on a CGPath, but I want to play it backwards.
Is there any way to animate a path backwards, or reverse a CGPath?
?
This may not be the best solution, but it worked for me. I told the animation to autoreverse, then started it halfway in. But to prevent it from animating back again I needed to terminate it early.
If a better ways exists, I'd like to know.