2

I want to make a layout using UICollectionVIew. But I am not sure it is possible or not.

I have tried changing height of one Cell but it is not working. Here is the layout which I want to acheive:

enter image description here

In this Layout height of each cell is fixed only the height and width of first cell is different.

How can I achieve this.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Rahul
  • 5,594
  • 7
  • 38
  • 92
  • 2
    It is possible : [Dynamic size UICollectionView cell](http://stackoverflow.com/questions/23760275/dynamic-size-uicollectionview-cell) – Bista Jan 19 '16 at 05:46
  • @the_UB I tried this way earlier...but it is not working – Rahul Jan 19 '16 at 06:07
  • You'll need to make your own subclass of `UICollectionViewLayout` and define the attributes (specifically, the `frame`) for each index path. – par Jan 19 '16 at 06:09

0 Answers0