Post

Replies

Boosts

Views

Activity

Reply to Crash in iOS18
indeed, for my case, iOS18 the crash point is here,,, more than 1 dequeue fix by recheck logic/code-flow func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> MyCell { let cell1 = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: indexPath) as? MyCell let cell2 = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: indexPath) as? MyCell let cell3 = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: indexPath) as? MyCell let cell4 = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: indexPath) as? MyCell return cell1 }
Sep ’24