0

I'm trying to set a self sizing collection view with some data but the cells will layout accordingly only after I tap on a cell and reload the data again. Tried with layoutIfNeeded() etc. but won't work.

initial load after reloading data

Al Ex
  • 45
  • 1
  • 7

1 Answers1

0

It works if I replace UICollectionViewCell with a plain UIView in the xib file.

Al Ex
  • 45
  • 1
  • 7