suchen

Heim  >  Fragen und Antworten  >  Hauptteil

objective-c - iOS collectionview insertItemsAtIndexPaths的的bug

[self.collectionView insertItemsAtIndexPaths:indexPaths];
我这老报错
attempt to insert item 11 into section 0, but there are only 10 items in section 0 after the update

但是我打印的正好10个数据啊

ringa_leeringa_lee2771 Tage vor589

Antworte allen(1)Ich werde antworten

  • 阿神

    阿神2017-04-18 09:48:24

    数组越界问题

    Antwort
    0
  • StornierenAntwort