<Error>: CGContextDrawImag

作者: iOS俱哥 | 来源:发表于2016-10-09 11:41 被阅读314次

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

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改为正确的即可。

相关文章

网友评论

    本文标题:<Error>: CGContextDrawImag

    本文链接:https://www.haomeiwen.com/subject/wampyttx.html