HI @V8tr Thanks for your demo
I encounter a problem when I set
cell.maxWidth = collectionView.bounds.width/2
it works nicely for the initial load. but when I reload the collectionView
collectionView.reloadData()
there are two problems that Occur
- cell size changed and not set properly
- content offset not set to initial position(the position before reload)