阻止uicollectionview部分从新行开始 [英] prevent uicollectionview section starting on new line

查看:86
本文介绍了阻止uicollectionview部分从新行开始的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用uicollectionview上的流布局。这看起来很棒,除了它似乎在另一条线上开始另一个部分。这似乎是一个合理的默认值,但是我如何覆盖它并使这些部分无缝地在同一行上流动,好像没有新的部分开始一样?

I'm using a flow layout on uicollectionview. It all looks great except it seems to start another section on another line. This seems like a sensible default but how do I override this and make the sections flow seamlessly on the same line as if no new section began?

谢谢!

推荐答案

我找到了一个库,它将其作为其功能之一

There is a library I found which has this as one of its features

RDHCollectionViewGridLayout

RDHCollectionViewGridLayout

https://github.com/rhodgkins/RDHCollectionViewGridLayout

这篇关于阻止uicollectionview部分从新行开始的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆