Saturday, November 7, 2026
HomeiOS Developmentios - crash on "UICollectionView dequeueReusableCellWithReuseIdentifier:forIndexPath"

ios – crash on “UICollectionView dequeueReusableCellWithReuseIdentifier:forIndexPath”

[ad_1]

I’ve a UICollectionView, whereas the cell is reused, then crashed.
Under is the stack whereas crash.

0
libobjc.A.dylib
objc_msgSend + 32

1
UIKitCore
-[UIView(Animation) _removeAllAnimations:] + 100

2
UIKitCore
-[UIView(Animation) _removeAllAnimations:] + 244

3
UIKitCore
-[UIView(Animation) _removeAllAnimations:] + 244

4
UIKitCore
-[UIView(Animation) _removeAllAnimations:] + 244

5
UIKitCore
-[UIView(Animation) _removeAllAnimations:] + 244

6
UIKitCore
-[UIView(Animation) _removeAllAnimations:] + 244

7
UIKitCore
-[UIView(Animation) _removeAllAnimations:] + 244

8
UIKitCore
-[UICollectionViewCell prepareForReuse] + 228

9
UIKitCore
-[UICollectionView _dequeueReusableViewOfKind:withIdentifier:forIndexPath:viewCategory:] + 400

10
UIKitCore
-[UICollectionView dequeueReusableCellWithReuseIdentifier:forIndexPath:] + 104

11
zhihuiguanjia
-[myCollectionView collectionView:cellForItemAtIndexPath:]

Are you able to assist me? I am actually not perceive why crash in right here.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments