UICollectionView like iOS Home Screen [closed]

折月煮酒 提交于 2019-12-02 17:46:16

You can use sections to group items and SupplementaryElements to decorate groups.

Or

You can also just create 2 kinds of different UICollectionViewCells: one normal cell + one group cell.

If your data source reflects grouping it should straight-forward to decide which one to return in collectionView:cellForItemAtIndexPath: .

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!