ios - Placing two sections next to each other in a UICollectionView -
i have collectionview 6 sections.
the first sections organised rows. section 2 & 3 things difficult. i need place 2 sections right next each other.
[................section 1..............] // 1 section couple of rows
[... section 2...][...section 3...] // 2 sections beneath first
i can't divide second section in 2 columns because different populated different cells.
knowing flow layout fills 1 section bounds bounds, fake such effect placing 2 cells next each other, fine add cells , can place 1 beneath other integer increments each time create new cell in cellforitematindexpath: , use multiply cell's height.
the problem face when reuse cells integer variable hack doesn't work anymore.
so there better way to, besides custom layout, might not trick either, place 2 sections next each other?
thanks in advance
Comments
Post a Comment