简体   繁体   English

UICollectionView 动态高度和宽度

[英]UICollectionView dynamic height and width

I'm Trying to achieve this layout with dynamic height and width我正在尝试使用动态高度和宽度来实现此布局

is it possible to achieve this layout?有可能实现这种布局吗?

动态uicollection布局

You will need to write a custom UICollectionViewLayout subclass for this, which is not really going to be easy.您需要为此编写自定义UICollectionViewLayout子类,这并不容易。

This and this tutorial are a pretty good starting point. 教程是一个很好的起点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM