Closed sany620 closed 7 years ago
What did you use to download images? it's strange.
Is to load the network images, not local。Can provide the solution?
The 'ImageView ' need constraint to confirm size itself, so you can add fixed size constraints as default size and update it after network images has loaded.
thanks
Load the network data for the first time, pictures showed not to come out, after the refresh can display, how to solve? code:
CGFloat width = (SCREENWIDTH - 30)/2; return [collectionView ar_sizeForCellWithIdentifier:@"RecommendedCell" indexPath:indexPath fixedWidth:width configuration:^(id cell) { RecommendedListResultModel *listData =self.m_newArr[indexPath.row]; [cell setCellData:listData];