Ios swift – Snake like animation on the rounded rectangle path
I'm trying to implement an animation similar to what you can see on the image: I'm using the Core Graphics and Core Animation with UIBezierPath to achieve this, but the problem seems to be with the start and the end…