Dynamic size UICollectionView cell

后端 未结 4 1735
失恋的感觉
失恋的感觉 2020-12-01 00:20

\"enter

1) How can i achieve as shown in image with UICollectionView?

4条回答
  •  栀梦
    栀梦 (楼主)
    2020-12-01 00:35

    Maybe this layout will fit your needs. Please take a look at this project: https://github.com/betzerra/MosaicLayout

    I'm not sure 100% it will totally satisfy your requirements, but in the worst case it may help you in writing your custom UICollecionViewFlowLayout (which is the only way to achieve your goal)

提交回复
热议问题