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

# present(animated:completionHandler:)

Presents the iPhone printing user interface in a sheet, optionally animating it to slide up from the bottom of the screen.

```
func present(animated: Bool, completionHandler completion: UIPrintInteractionController.CompletionHandler? = nil) -> Bool
```

## Parameters

`animated`

<doc://com.apple.documentation/documentation/Swift/true> to animate the display of the sheet, <doc://com.apple.documentation/documentation/Swift/false> to display the sheet immediately.

`completion`

A block of type [`UIPrintInteractionController.CompletionHandler`](/documentation/UIKit/UIPrintInteractionController/CompletionHandler) that you implement to handle the conclusion of the print job (for instance, to reset state) and to handle any errors encountered in printing.

## Discussion

It is valid to call this method for applications on iPhone and iPod touch devices. Calling this method on an iPad with `animated` set to <doc://com.apple.documentation/documentation/Swift/true> causes the printing options view to animate from the window frame.

If you call this method when the printing options are already displayed, `UIPrintInteractionController` hides the printing-options sheet. You must call the method again to display the options.

---

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)