---
title: "pageViewControllerPreferredInterfaceOrientationForPresentation(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uipageviewcontrollerdelegate/pageviewcontrollerpreferredinterfaceorientationforpresentation(_:)"
---

# pageViewControllerPreferredInterfaceOrientationForPresentation(_:)

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

## Declaration

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

## Parameters

- `pageViewController`: The page view controller.

## Return Value

Return Value The preferred orientation for presenting the page view controller.

## See Also

### Related Documentation

- [preferredInterfaceOrientationForPresentation](uikit/uiviewcontroller/preferredinterfaceorientationforpresentation.md)

### Overriding View Rotation Settings

- [pageViewControllerSupportedInterfaceOrientations(_:)](uikit/uipageviewcontrollerdelegate/pageviewcontrollersupportedinterfaceorientations(_:).md)
