<!--
{
  "documentType" : "article",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/uidocumentpickerviewcontroller-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated symbols"
}
-->

# Deprecated symbols

Review symbols that are no longer in active development, and their recommended replacements.

## Overview

Although these symbols are available for use, Apple is no longer actively developing them, and may remove them in a future release. Apple recommends moving away from these symbols and using their indicated replacements instead. Check the individual symbol pages for the recommended replacements.

## Topics

### Deprecated initializers

[`init(URL: URL, inMode: UIDocumentPickerMode)`](/documentation/UIKit/UIDocumentPickerViewController/init(URL:inMode:))

[`init(URLs: [URL], inMode: UIDocumentPickerMode)`](/documentation/UIKit/UIDocumentPickerViewController/init(URLs:inMode:))

[`init(documentTypes: [String], inMode: UIDocumentPickerMode)`](/documentation/UIKit/UIDocumentPickerViewController/init(documentTypes:inMode:))

### Deprecated methods

[`init(documentTypes: [String], in: UIDocumentPickerMode)`](/documentation/UIKit/UIDocumentPickerViewController/init(documentTypes:in:))

Creates and returns a document picker that can open or copy the specified file types.

[`init(url: URL, in: UIDocumentPickerMode)`](/documentation/UIKit/UIDocumentPickerViewController/init(url:in:))

Initializes and returns a document picker that can export or copy the specified document.

[`init(urls: [URL], in: UIDocumentPickerMode)`](/documentation/UIKit/UIDocumentPickerViewController/init(urls:in:))

Creates and returns a document picker that can export or move the specified documents.

### Deprecated properties

[`var documentPickerMode: UIDocumentPickerMode`](/documentation/UIKit/UIDocumentPickerViewController/documentPickerMode)

The type of file transfer operation that the document picker uses.

### Deprecated enumerations

[`enum UIDocumentPickerMode`](/documentation/UIKit/UIDocumentPickerMode)

Modes that define the type of file transfer operation that the document picker uses.



---

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)