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

[PHImageManager defaultManager] requestImageForAsset 回调走两次 #1699

Open
lena1930 opened this issue Oct 15, 2024 · 0 comments
Open

[PHImageManager defaultManager] requestImageForAsset 回调走两次 #1699

lena1930 opened this issue Oct 15, 2024 · 0 comments

Comments

@lena1930
Copy link

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

2、你用的是什么版本?升级到最新版后是否正常?
答:3.87

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

bug内容描述
选择拍照.调用视频,回调会走两次。代码位置:

// 修复获取图片时出现的瞬间内存过高问题
// 下面两行代码,来自hsjcom,他的github是:https://github.com/hsjcom 表示感谢
PHImageRequestOptions *option = [[PHImageRequestOptions alloc] init];
option.resizeMode = PHImageRequestOptionsResizeModeFast;

我如何复现这个bug?
option.synchronous = YES 加上这句代码即可

截图

其它说明
有没有其它要补充的?比如你的初始化TZImagePickerController的代码

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

1 participant