4

当我打印出 UICollectionView 中的可见单元格计数和数组计数时,它减少了一个。可见细胞计数较低。有任何想法吗?

 NSLog(@"visibleCellscount %d",self.collectionView.visibleCells.count);   (visibleCellscount 2)
 NSLog(@"birdscount %d",self.birds.count);   (birdscount 3)
4

0 回答 0