Instance Method

pageViewControllerPreferredInterfaceOrientationForPresentation(_:)

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

Declaration

optional func pageViewControllerPreferredInterfaceOrientationForPresentation(_ pageViewController: UIPageViewController) -> UIInterfaceOrientation

Parameters

pageViewController

The page view controller.

Return Value

The preferred orientation for presenting the page view controller.

See Also

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.