Question

I have a customer that wants a news page like this

enter image description here

but with UICollectionView I have no idea how to do. I have to use reusable element because this page may be contains infinite elements.

Idea ?

Was it helpful?

Solution

You can use -(CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath and set different size for each cell

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top