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

QMUIImagePickerViewController能添加一个选中之前拦截的代理吗,或者添加取消选中接口(预览的也要添加相应的) #352

Closed
fanxiangyang opened this issue Jun 12, 2018 · 2 comments
Labels

Comments

@fanxiangyang
Copy link

新功能建议:感觉取消选中或者选中之前拦截判断,很重要
1.比如我想实现,判断选中5张图片,或者一个视频,应该开放一个代理,来拦截选中的资源,如果是选完图片就不能选择视频,我现在只能选择完视频后才能知道提示但是,视频已经被选中了

麻烦有微信群吗 fanxiangyang_heda@163.com

@MoLice
Copy link
Collaborator

MoLice commented Jun 12, 2018

目前确实缺少一个类似 shouldCheck 的方法来控制是否应该被选中,这个后续会加上。
另外按目前的代码,你可以尝试在 imagePickerViewController:didCheckImageAtIndex: 里把 cell.checked = NO,以及 selectedImageAssetArray removeObject:xxx

@MoLice
Copy link
Collaborator

MoLice commented Jul 5, 2018

2.7.2 已发布,新增 imagePickerViewController:shouldCheckImageAtIndex: 方法,具体请查看 Release Note。

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

No branches or pull requests

2 participants