I\'m using a UICollectionView with two prototype cells. The prototype cells have different widths and contain different controls (image view and web view). I\'m definitely ret
I had a Similar Issue, I set a breakpoint on the sizeForItemAt and it was being called for every cell I had on my collection, however, the size set in code was never being reflected on the device.
While looking at other collections in my project I noticed the Collection View Flow Layout was slightly different in the collection with the issue.
This helped me solve my issue.
However the size of the cell will not be dynamic with what is in your sizeForItemAt