Instance Method

pageViewControllerSupportedInterfaceOrientations(_:)

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

Declaration

optional func pageViewControllerSupportedInterfaceOrientations(_ pageViewController: UIPageViewController) -> UIInterfaceOrientationMask

Parameters

pageViewController

The page view controller.

Return Value

One of the UIInterfaceOrientationMask constants that represents the set of interface orientations supported by the page view controller.

See Also

Overriding View Rotation Settings

func pageViewControllerPreferredInterfaceOrientationForPresentation(UIPageViewController) -> UIInterfaceOrientation

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