UIPageViewController
UIPageViewController is a UIKit controller that manages navigation between a sequence of view controllers, presenting one page at a time and handling the gestures used to move between pages. It is commonly used for onboarding, tutorials, magazines, and other content organized into discrete pages.
The controller is created with a transition style and a navigation orientation. The transitionStyle can be
A data source object must implement the two required methods to supply the neighboring pages: pageViewController(_:viewControllerBefore:)
Programmatic navigation is supported via setViewControllers(_:direction:animated:completion:), which replaces the current page with a specified view controller
Common use cases include onboarding sequences and multi-page content flows, where the UIPageViewController provides a cohesive,