@ wattson12 is absolutely right. Here is an example of how I did this in the past:
- (void)animateBezier { CAShapeLayer *bezier = nil; UIBezierPath *bezierPath = [self bezierPath];
I donβt know if this is really what you want, or if you want to revive later adding an extra point in the way. If this is what you want, you can probably do something where you set the fromValue value accordingly or animate the drawing of another segment as a separate path.
source share