Protocol

UIDocumentMenuDelegate

A set of methods that you must implement to track user interactions with a document menu view controller.

Overview

The document menu calls the methods of this protocol when the user selects a document picker or dismisses the menu. If the user selects a document picker, set the picker’s delegate and present it.

Topics

Responding to User Actions

func documentMenu(UIDocumentMenuViewController, didPickDocumentPicker: UIDocumentPickerViewController)

Tells the delegate that the user has selected a document picker from the menu.

Required.

func documentMenuWasCancelled(UIDocumentMenuViewController)

Tells the delegate that the user dismissed the document menu.

Relationships

Inherits From

See Also

Getting the User-Selected Document Picker

var delegate: UIDocumentMenuDelegate?

The document menu’s delegate.

Deprecated