I\'ve gotten several crash reports related to a UICollectionView in iOS 7. I\'m not able to consistently recreate this crash.
Exception Type: SIGSEGV
Exception
I also had this crash in _unhighlightAllItems
in a collection view where I used a long press recognizer that changes the state of cells (but not their number) and then called [collectionView reloadData]
. In my case, the solution from @toostn (using performBatchUpdates
) works great.
I also found that using reloadItemsAtIndexPaths:
instead of reloadData
also avoids the crash.