OGeek|极客世界-中国程序员成长平台

标题: ios - 是否可以在 UIPageViewController 中为页面创建自定义转换? [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-11 19:55
标题: ios - 是否可以在 UIPageViewController 中为页面创建自定义转换?

我想在 UIPageViewController 中滑动时在页面之间进行自定义转换,就像 3Dcubic 转换一样。

我该怎么做?

这样做的唯一方法是 滑动当前页面时进行下一页 View 3d 转换?



Best Answer-推荐答案


使用 UIPageViewController 您只能在滚动和页面 curl 过渡之间进行选择。

要实现自定义转换,您需要构建更抽象/更灵活的 Controller ,例如 UICollectionViewController

关于ios - 是否可以在 UIPageViewController 中为页面创建自定义转换?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49497957/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4