I made a UICollectionView
with a vertical scroll.
The width of the cell is more than than the screen width, so I created a customFlowLayout
based on UICollectionViewFlow
layout returning the right calculated content size.
However, this doesn't work. When the width of the cell is less than the screen width it works. Does it mean that we can't have width more than than screen width in vertical scroll?
It is the same for horizontal scroll, but then the height of the CollectionView
is limited to screen height.
Is there any way to make it work?