---
title: Adding a document browser to your app
framework: uikit
role: collectionGroup
path: uikit/adding-a-document-browser-to-your-app
---

# Adding a document browser to your app

Give people access to their local or remote documents from within your app.

## Overview

Overview When your app’s main purpose is browsing and working with documents, use a document browser view controller as the root of your app’s view hierarchy. When someone selects a document, you present its view controller modally from your document browser. important: Always assign UIDocumentBrowserViewController as your app’s root view controller. UIKit doesn’t support placing the document browser in a navigation controller, tab bar, split view, or modal presentation. If you want to present a document browser from another location in your view hierarchy, use a UIDocumentPickerViewController instead. The browser automatically gives people the option to share documents using the Share button or a drag-and-drop action. It also provides a standard interface for browsing and managing documents. You set the type of documents that someone can select when the browser is first created. You can also set the browser’s appearance, modify its behaviors, and add custom actions.

## Topics

### Configuration

- [Setting up a document browser app](uikit/setting-up-a-document-browser-app.md)
- [Presenting selected documents](uikit/presenting-selected-documents.md)
- [Enabling document sharing](uikit/enabling-document-sharing.md)

### Customization

- [Customizing the document browser](uikit/customizing-the-browser.md)
- [Adding custom actions and activities](uikit/adding-custom-actions-and-activities.md)

## See Also

### Documents and directories

- [Customizing a document-based app’s launch experience](uikit/customizing-a-document-based-app-s-launch-experience.md)
- [Providing access to directories](uikit/providing-access-to-directories.md)
- [Building an app with a document browser](uikit/building-an-app-with-a-document-browser.md)
- [Building a document browser app for custom file formats](uikit/building-a-document-browser-app-for-custom-file-formats.md)
- [UIDocumentViewController](uikit/uidocumentviewcontroller.md)
- [UIDocumentBrowserViewController](uikit/uidocumentbrowserviewcontroller.md)
- [UIDocumentPickerViewController](uikit/uidocumentpickerviewcontroller.md)
- [UIDocumentInteractionController](uikit/uidocumentinteractioncontroller.md)
