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

ios 18.3.1选了视频走的回调却是didFinishPickingPhotosWithInfosHandle #1718

Open
wenrisheng opened this issue Mar 18, 2025 · 1 comment

Comments

@wenrisheng
Copy link

提bug前必看
请先回答下列三个问题,否则不允处理,谢谢配合。
1、我最新的Demo是否有这个bug?【如果Demo没问题,请升级新版
答:最新版有,3.8.8

2、你用的是什么版本?升级到最新版后是否正常?
答:3.8.8,最新版一样有这个问题

3、是否有改动过我库内部的代码?【如有,请说明改动点
答:

bug内容描述
ios 18.3.1选了视频走的回调却是didFinishPickingPhotosWithInfosHandle

我如何复现这个bug?
ios 18.3.1选了视频走的回调却是didFinishPickingPhotosWithInfosHandle

还有个建议:
tz_imagePickerBundle这个直接返回[NSBundle mainBundle]

@banchichen
Copy link
Owner

banchichen commented Mar 29, 2025

嗯,这里取决于allowPickingMultipleVideo的配置,如这里所说:

// 如果用户选择了一个视频且allowPickingMultipleVideo是NO,下面的代理方法会被执行
// 如果allowPickingMultipleVideo是YES,将会调用imagePickerController:didFinishPickingPhotos:sourceAssets:isSelectOriginalPhoto:
- (void)imagePickerController:(TZImagePickerController *)picker didFinishPickingVideo:(UIImage *)coverImage sourceAssets:(PHAsset *)asset;

关于tz_imagePickerBundle的建议,背景和目的是什么呢?

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