iOS---实现在屏幕上实时绘图的简单效果---CAShaperLayer和UIBezierPath的简单运用
首先,声明几个属性@property(nonatomic,strong)UIBezierPath*beizer;@property(nonatomic,assign)CGPointstartPoint;@property(nonatomic,assign)CGPointmovePoint;@property(nonatomic,strong)CAShapeLayer*shapelayer;然后注册