Protocol

UIDocumentBrowserViewControllerDelegate

The protocol you implement to respond as the user interacts with the document browser.

Declaration

@protocol UIDocumentBrowserViewControllerDelegate

Topics

Creating New Documents

- documentBrowser:didRequestDocumentCreationWithHandler:

Asks the delegate to create a new document.

UIDocumentBrowserImportMode

The document browser's import modes.

- documentBrowser:didImportDocumentAtURL:toDestinationURL:

Tells the delegate that a document has been successfully imported.

- documentBrowser:failedToImportDocumentAtURL:error:

Tells the delegate that the document browser failed to import the specified document.

Selecting Documents

- documentBrowser:didPickDocumentURLs:

Tells the delegate that the user has selected one or more documents.

Deprecated

Working with the Browser's Activity View

- documentBrowser:willPresentActivityViewController:

Tells the delegate that the document browser will display an activity view.

- documentBrowser:applicationActivitiesForDocumentURLs:

Asks the delegate for additional activities when displaying an activity view.

Relationships

Inherits From

See Also

Responding to Browser Events

delegate

The document browser's delegate.

- importDocumentAtURL:nextToDocumentAtURL:mode:completionHandler:

Imports a document into the same location as an existing document.