Problem with customizing cell size
johnqh opened this issue · 0 comments
johnqh commented
In the demo project, add the following code to LXCollectionViewController.m
- (CGSize)collectionView:(UICollectionView )collectionView layout:(UICollectionViewLayout)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath
{
return CGSizeMake(indexPath.row == 0 ? 200 : 100, 100);
}
The resulted screen is like this. The last row is messed up: