Custom layout for different cell sizes in UICollectionView

前端 未结 3 398
野趣味
野趣味 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: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

提交回复
热议问题