Join UICollectionViewCell like HTML rowspan for table?
-
06-07-2021 - |
Question
Is it possible join UICollectionViewCells in iOS like in HTML cell content can join with rowspan or colspan?
Solution
With the default UICollectionViewFlowLayout
you can't place a cell in 2 rows, so the "rowspan" is impossible in that case. You can set the width of a cell, so "colspan" is possible". But if you want both, you gotta write a custom layout.
OTHER TIPS
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow