IOS : Animate transformation from a line to a bezier curve
问题 I would like to animate a straight line curving into a bezier curve (from "_" to "n"), is there a library somewhere that can help me to do it ? I know how to draw a Bezier curve with UIBezierPath, I could redraw rapidly and progressively do the transformation, but if something already does that it would be cool :-) 回答1: I might do something with a CADisplayLink . For example, you could do this in your view controller using a CAShapeLayer , e.g.: #import "ViewController.h" #import <QuartzCore