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

闪退 #1708

Open
Lishuo15266176690 opened this issue Dec 6, 2024 · 2 comments
Open

闪退 #1708

Lishuo15266176690 opened this issue Dec 6, 2024 · 2 comments

Comments

@Lishuo15266176690
Copy link

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

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

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

bug内容描述
Expected dequeued view to be returned to the collection view in preparation for display. When the collection view's data source is asked to provide a view for a given index path, ensure that a single view is dequeued and returned to the collection view. Avoid dequeuing views without a request from the collection view. For retrieving an existing view in the collection view, use -[UICollectionView cellForItemAtIndexPath:] or -[UICollectionView supplementaryViewForElementKind:atIndexPath:]. Dequeued view: <TZPhotoPreviewCell: 0x13a0a8f00; baseClass = UICollectionViewCell; frame = (0 0; 410 844); backgroundColor = UIExtendedGrayColorSpace 0 1; layer = <CALayer: 0x302671a60>>; Collection view: <UICollectionView: 0x13a065c00; frame = (-10 0; 410 844); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x302d134b0>; backgroundColor = UIExtendedGrayColorSpace 0 1; layer = <CALayer: 0x30265df00>; contentOffset: {0, 0}; contentSize: {1230, 844}; adjustedContentInset: {0, 0, 0, 0}; layout: <UICollectionViewFlowLayout: 0x134bbf480>; dataSource: <TZImagePreviewController: 0x127f50000>>

我如何复现这个bug?
此bug不是百分百复现。

截图

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

@ptlCoder
Copy link

iOS18 特性导致的

@banchichen
Copy link
Owner

@ptlCoder 老哥,方便帮忙提个PR不?

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

3 participants