Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大图浏览图片间距的优化 #542

Open
Lovezysong opened this issue Apr 6, 2023 · 0 comments
Open

大图浏览图片间距的优化 #542

Lovezysong opened this issue Apr 6, 2023 · 0 comments

Comments

@Lovezysong
Copy link

感觉目前的这种方式有点不友好啊minimumLineSpacing+sectionInset+collectionView.frame虽然能达到图片间距效果,但最好还是自定义一个flowLayout,其他什么都不用关心,而且更改特别方便,比如后期想增加图片切换的各种动画,只需更改flowLayout即可
WX20230406-162553@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant