CAShapeLayer animation doesn't stay on screen but disappears
问题 I'm trying to draw a animated circle but every segment needs to have another color. Now everything works except that my piece that is just drawed before I call the method again disappears so only the last part stays. I don't want that, I want that after 4 times a whole circle is drawn in different color strokes. How can I fix this that it doesn't disappears? This is my init code: - (void)_initCircle { _circle = [CAShapeLayer layer]; _radius = 100; // Make a circular shape _circle.path =