---
title: "navigationControllerPreferredInterfaceOrientationForPresentation(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uinavigationcontrollerdelegate/navigationcontrollerpreferredinterfaceorientationforpresentation(_:)"
---

# navigationControllerPreferredInterfaceOrientationForPresentation(_:)

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

## Declaration

```swift
optional func navigationControllerPreferredInterfaceOrientationForPresentation(_ navigationController: UINavigationController) -> UIInterfaceOrientation
```

## Parameters

- `navigationController`: The navigation controller

## Return Value

Return Value The preferred orientation for presenting the navigation controller.

## See Also

### Supporting custom transition animations

- [navigationController(_:animationControllerFor:from:to:)](uikit/uinavigationcontrollerdelegate/navigationcontroller(_:animationcontrollerfor:from:to:).md)
- [navigationController(_:interactionControllerFor:)](uikit/uinavigationcontrollerdelegate/navigationcontroller(_:interactioncontrollerfor:).md)
- [navigationControllerSupportedInterfaceOrientations(_:)](uikit/uinavigationcontrollerdelegate/navigationcontrollersupportedinterfaceorientations(_:).md)
