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

【DoKit生态场景】-iOS.crash #1191

Open
wangjunhua1 opened this issue Feb 26, 2025 · 2 comments
Open

【DoKit生态场景】-iOS.crash #1191

wangjunhua1 opened this issue Feb 26, 2025 · 2 comments
Assignees

Comments

@wangjunhua1
Copy link

版本号3.1.3
iOS18系统crash
crash 信息如下
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: <DoraemonHomeCell: 0x15d955800; baseClass = UICollectionViewCell; frame = (0 1212.5; 414 55.2); backgroundColor = <UIDynamicSystemColor: 0x302291ac0; name = systemBackgroundColor>; layer = <CALayer: 0x30314bd60>>; Collection view: <UICollectionView: 0x13a369c00; frame = (0 92; 414 804); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x303a0cbd0>; backgroundColor = <UIDynamicSystemColor: 0x302291ac0; name = systemBackgroundColor>; layer = <CALayer: 0x3031b6680>; contentOffset: {0, 183.5}; contentSize: {414, 1311.9359999999999}; adjustedContentInset: {0, 0, 34, 0}; layout: <UICollectionViewFlowLayout: 0x15de0b480>; dataSource: <DoraemonHomeViewController: 0x15de58c00>

@SwiftHenryLee
Copy link

相同的崩溃

@tongwanming
Copy link

iOS 18 调用 [collectionView dequeueReusableSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:... 会直接crash

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

4 participants