【发布时间】:2015-10-04 21:02:22
【问题描述】:
iOS8.4。在设备而非模拟器上。
我收到了这个 carsh 错误;
Assertion failure in -[UICollectionView _updateWithItems:tentativelyForReordering:], /SourceCache/UIKit/UIKit-3347.44.2/UICollectionView.m:4563
当我打电话时
NSArray* array_indexPaths = [NSArray arrayWithObject:[NSIndexPath indexPathForRow:1 inSection:0]];
[self.collectionView reloadItemsAtIndexPaths:indexPaths];
已尝试将上述内容放在里面
[self.collectionView performBatchUpdates:^{
没有运气。
是否有其他人经历过这种情况或知道为什么会发生这种情况?
【问题讨论】:
-
您是否以某种方式解决了这个问题?
-
我没有。我最终从根本上彻底改变了整个事情,并且永远不需要打这个电话。不过,我从来没有搞清楚为什么上面的电话会发生这种情况。
标签: ios objective-c crash uicollectionview uicollectionviewcell