UIPageViewController
-
How to Turn Pages Programmatically in UIPageViewController
Turn UIPageViewController pages in code with setViewControllers(_:direction:animated:completion:), and keep your data source index in sync to avoid blank pages.
Turn UIPageViewController pages in code with setViewControllers(_:direction:animated:completion:), and keep your data source index in sync to avoid blank pages.