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.

Declaration

protocol UIPageViewControllerDelegate

Topics

Overriding View Rotation Settings

func pageViewControllerSupportedInterfaceOrientations(UIPageViewController) -> UIInterfaceOrientationMask

Returns the complete set of supported interface orientations for the page view controller, as determined by the delegate.

func pageViewControllerPreferredInterfaceOrientationForPresentation(UIPageViewController) -> UIInterfaceOrientation

Returns the preferred orientation for presentation of the page view controller, as determined by the delegate.

Relationships

Inherits From

See Also

Customizing the Page View Behavior