UIPageviewcontroller 过渡样式滚动连续

UIPageviewcontroller transition style scroll continuous

默认的 pageviewcontroller 滚动过渡样式进行翻转。如何使滚动连续或平滑?

您不能连续滚动,您可以进行分页滚动,这意味着 PageViewController 将始终捕捉到特定页面。查看类型:

UIPageViewControllerTransitionStylePageCurl = 0, // Navigate between views via a page curl transition.
UIPageViewControllerTransitionStyleScroll

也许您正在寻找的是 UIScrollView 或 UICollectionView(这意味着您将需要编写自己的连续滚动组件)