先上问题:出现以下日志:
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改为正确的即可。
网友评论