<!--
{
  "documentType" : "article",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/presenting-selected-documents",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "Presenting selected documents"
}
-->

# Presenting selected documents

Display user-selected documents over your browser view controller.

## Discussion

When the user selects one or more documents in the browser view controller, the system calls your delegate’s [`documentBrowser(_:didPickDocumentURLs:)`](/documentation/UIKit/UIDocumentBrowserViewControllerDelegate/documentBrowser(_:didPickDocumentURLs:)) method.

### Display documents with document view controllers

In your implementation of the [`documentBrowser(_:didPickDocumentURLs:)`](/documentation/UIKit/UIDocumentBrowserViewControllerDelegate/documentBrowser(_:didPickDocumentURLs:)) method, modally present a view controller to display the selected documents by calling the browser’s [`present(_:animated:completion:)`](/documentation/UIKit/UIViewController/present(_:animated:completion:)) method.

The document view should fill the entire screen, but it can have its own split view controller, navigation controller, or tab controller, as appropriate. It remains onscreen as long as the user is interacting with the documents. To return to the browser, dismiss the document view controller.

---

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)