I have a UICollectionView
that is using UICollectionViewFlowLayout
to print a grid of cells to the screen. I configured the layout to flow horizontally & now I need to add a header to each section.
My main issue is with the location of the header which is to the left of the section while I want it to be on top of the section (similar to what it would be if the layout was configured to flow vertically).
Is there a way to do that short of creating my own UICollectionViewFlowLayout
subclass? and if that's the only way, can someone please point out a good resource on collection views, it seems that most of the tutorials out there are pretty basic.
The solution discussed here only doesn't seem to work and the header still appears to the left of the section.