Contents

documentInteractionControllerWillPresentOptionsMenu(_:)

Called when a document interaction controller is about to display an options menu.

Declaration

optional func documentInteractionControllerWillPresentOptionsMenu(_ controller: UIDocumentInteractionController)

Parameters

  • controller:

    The document interaction controller that is about to display an options menu.

Discussion

The options menu is used to present the user with options for previewing the document, opening it in an application, or copying its contents. You can use this method to update your user interface in response to displaying the menu.

See Also

Presenting the user interface