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

请教几个关于PageController这类库的共性问题 #651

Open
JC-Sung opened this issue Jun 25, 2022 · 0 comments
Open

请教几个关于PageController这类库的共性问题 #651

JC-Sung opened this issue Jun 25, 2022 · 0 comments

Comments

@JC-Sung
Copy link

JC-Sung commented Jun 25, 2022

1,想要在相邻两个控制器间加点间距,让页面不连在一起,UIScrollView计算起来还挺麻烦,怎么做最优?
2,动画效果问题,setContentOffset,相邻两个页面切换还好,切换的控制器间隔了很多个控制器,切换的时候中间的很多页面都会一闪而过,有很多这类框架优化的挺好,无论中间隔了多少个控制器,切换的时候给人的感觉都是相邻两个控制器切换的效果,这是怎么实现的?我试着用CGAffineTransformMakeTranslation,成功了一半,但页面上只会有一个控制器页面
3,切换控制器的动画定制,类似于UICollectionView那样
4,为什么不用UICollectionView?自定义FlowLayout这样上面的问题都能解决,而且已经有框架用的是这个,也都能完整的处理各个控制器的生命周期
希望各位大神给出点思路。。。

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