0

I had created two type of cells for my CollectionView, both are of different heights.

enter image description here

But when I run the app, the black cell is cut in half. I am unable to understand why. I tried changing the size of the cell, but it in turn makes the black cell over lap the cell below it. Please help with this.

enter image description here

Thanks

Vyshakh
  • 632
  • 1
  • 11
  • 29

1 Answers1

0

The size of the CollectionView item has to be changed dynamically. Kindly follow the following link to solve

UICollectionView - dynamic cell height?

Community
  • 1
  • 1
Balaji Kondalrayal
  • 1,743
  • 3
  • 19
  • 38