Instance Property

delegate

The delegate object.

Declaration

weak var delegate: UIPageViewControllerDelegate? { get set }

Discussion

Methods of the delegate are called in response to gesture-based navigation and orientation changes.

See Also

Customizing the Page View Behavior

protocol UIPageViewControllerDelegate

The delegate of a page view controller must adopt the UIPageViewControllerDelegate protocol. These methods allow the delegate to receive a notification when the device orientation changes and when the user navigates to a new page. For page-curl style transitions, the delegate can provide a different spine location in response to a change in the interface orientation.