Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地gif显示不出来 #36

Closed
lxm1799 opened this issue Oct 14, 2020 · 5 comments
Closed

本地gif显示不出来 #36

lxm1799 opened this issue Oct 14, 2020 · 5 comments

Comments

@lxm1799
Copy link

lxm1799 commented Oct 14, 2020

相关问题Demo,可前往下载:https://github.com/lxm1799/KNBrowserDemo

@lxm1799
Copy link
Author

lxm1799 commented Oct 14, 2020

`
QYLocalCloudModel *model = obj;
KNPhotoItems *items = [[KNPhotoItems alloc] init];

        if (model.type == MediaUploadTypeVideo) {
            items.url = model.filePath;
            items.isVideo = YES;
        }else{
            items.sourceImage = (UIImage *)model.image;
        }
        [itemArr addObject:items];

//当前的model.image的类型是UIAnimatedImage,且确定是有数据的。但是赋值给items.sourceImage预览的时候黑屏。
//目前仅gif出现黑屏问题,
`

@lxm1799
Copy link
Author

lxm1799 commented Oct 14, 2020

@LuKane
Copy link
Owner

LuKane commented Oct 14, 2020

不支持 本地gif图展示!

@LuKane LuKane closed this as completed Oct 14, 2020
@lxm1799
Copy link
Author

lxm1799 commented Oct 15, 2020

这个问题我本地修复了,相关代码晚点提交给你看看。

@LuKane
Copy link
Owner

LuKane commented Oct 15, 2020

好的!! 多谢了哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants