用CAShapeLayer 绘制曲线时,报错信息如下:
CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
原因:调用了- (void)stroke方法.
用CAShapeLayer 绘制曲线时,报错信息如下:
CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
原因:调用了- (void)stroke方法.