NSRangeException when deleting last UICollectionViewCell

前端 未结 1 1884
刺人心
刺人心 2021-01-25 06:51

I have a UICollectionView with 1 section. The user can delete cells from the collection, and I use this code for removal:

[self.collectionView performBatchUpdate         


        
1条回答
  •  离开以前
    2021-01-25 07:22

    Just put the Exceptions Breakpoint and you'll find where exactly it is crashing.

    0 讨论(0)
提交回复
热议问题