<!--
{
  "availability" : [
    "iOS: 4.2.0 -",
    "iPadOS: 4.2.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPrintInteractionControllerDelegate/printInteractionControllerParentViewController(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIPrintInteractionControllerDelegate(im)printInteractionControllerParentViewController:"
  },
  "title" : "printInteractionControllerParentViewController(_:)"
}
-->

# printInteractionControllerParentViewController(_:)

Returns a parent view controller for managing the printing-options view.

```
optional func printInteractionControllerParentViewController(_ printInteractionController: UIPrintInteractionController) -> UIViewController?
```

## Parameters

`printInteractionController`

The shared instance of [`UIPrintInteractionController`](/documentation/UIKit/UIPrintInteractionController) that is managing the print job.

## Return Value

The view controller that is to be the parent of the print-interaction controller managing the printing-options view. Return `nil` for the standard presentation behavior.

## Discussion

This method allows an application to present the print-options view from a view controller of their own choosing. The parent view controller returned must be a [`UIViewController`](/documentation/UIKit/UIViewController) object, such as a [`UINavigationController`](/documentation/UIKit/UINavigationController) object or a generic view controller. A common strategy for embedding is to create a [`UINavigationController`](/documentation/UIKit/UINavigationController) object as the content view controller ([`contentViewController`](/documentation/UIKit/UIPopoverController/contentViewController) property) of a [`UIPopoverController`](/documentation/UIKit/UIPopoverController) object and return that. UIKit can push the returned view controller onto the stack if its parent is a navigation controller or present it modally if it isn’t.

This method is invoked in any of the `present...` methods of the [`UIPrintInteractionController`](/documentation/UIKit/UIPrintInteractionController) class (for example, [`present(animated:completionHandler:)`](/documentation/UIKit/UIPrintInteractionController/present(animated:completionHandler:))).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)