【发布时间】:2022-10-06 17:39:41
【问题描述】:
在 collectionvView 中的 iOS 16 beginInteractiveMovementForItem 上抛出错误:
attempt to insert nil object from objects[0]\' terminating with uncaught exception of type NSException
这是我的代码:
collectionView.beginInteractiveMovementForItem(at: selectedIndexPath)
iOS 16 上是否有任何替代方案可供使用? 这里还有另一个类似的问题:UICollectionView crash when moving items on iOS 16 beta 但仍然没有答案。
标签: swift collectionview