iOS 开发 iOS开发笔记iOS Developer

<Error>: CGContextDrawImag

2016-10-09  本文已影响314人  iOS俱哥

先上问题:出现以下日志:

Oct 9 11:34:38 Trip[5861] <Error>: CGContextDrawImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Oct 9 11:34:38 Trip[5861] <Error>: CGBitmapContextCreateImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

解决办法:是加载uiimageView的图片url不正确导致无法正常显示出来,url改为正确的即可。

上一篇 下一篇

猜你喜欢

热点阅读