在iOS12系统下,APP无法正常显示图片

时间:2018-06-11 03:08:36

标签: ios sdwebimage cgimage ios12

我的项目,在iOS12系统下,加载图像并仅显示其中的一部分。enter image description here

enter image description here

我加载的图像格式是Webp,我使用的框架是SDWebImage。

Xcode提示我的错误消息是'CGImageCreate:无效的图像位/组件:8位/像素24 alpha信息= kCGImageAlphaNoneSkipLast'

1 个答案:

答案 0 :(得分:1)

由于使用SDWebImage生成的错误,这个问题得以解决。

请参阅相关维修记录https://github.com/rs/SDWebImage/pull/2348

SDWebImage已升级到4.4.1以解决问题。