Custom layout for different cell sizes in UICollectionView

前端 未结 3 392
野趣味
野趣味 2020-12-23 14:44

I would like to use the new UICollectionView, but I\'m not sure if it is possible to build the following:

\"ente

相关标签:
3条回答
  • 2020-12-23 15:18

    This might be possible using UICollectionViewFlowLayout

    0 讨论(0)
  • 2020-12-23 15:32

    You can check out https://github.com/bryceredd/RFQuiltLayout . Looks like something you can use for this

    0 讨论(0)
  • 2020-12-23 15:36

    It is possible with the FlowLayout, but you have to customize the FlowLayout Attributes.

    Apple gives a good explanation, see Collection View Programming Guide for iOS scroll down to Specifying the Size of Items in the Flow Layout

    0 讨论(0)
提交回复
热议问题