ios uicollectionviewcell怎么刷新网络数据

2025-04-13 04:03:38
推荐回答(1个)
回答(1):

(NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section 被调用了, 返回值为20;
但是 - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath