使用CAShapeLayer与UIBezierPath可以实现不在view的drawRect方法中就画出一些想要的图形。 1.背景知识:. UIBezierPath:. UIBezierPath是在UIKit 中的一个类,继承 ...
確定! 回上一頁