Contents

documentMenu(_:didPickDocumentPicker:)

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

Declaration

func documentMenu(_ documentMenu: UIDocumentMenuViewController, didPickDocumentPicker documentPicker: UIDocumentPickerViewController)

Parameters

  • documentMenu:

    The document menu object that called this method.

  • documentPicker:

    The document picker that the user selected.

Discussion

The document menu calls this method when the user selects a document picker. Set the document picker’s delegate, and then present it.

See Also

Responding to user actions