1
當newIndexPath
和indexPath
都是相同的[0, 0]
時,在此行發生崩潰。它可能會導致崩潰嗎?reloadItemsAtIndexPaths調用相同的索引時可能會崩潰?
case .Move:
self.collectionView!.reloadItemsAtIndexPaths([newIndexPath!, indexPath!])
錯誤消息是:
- [UICollectionViewUpdateItem _isCell]:無法識別的選擇發送到實例0x1289f4b90
我設置了'Objective-C例外'。它確切地發生在這條線上。 –