UIDocumentInteractionControllerDelegate
A set of methods you can implement to respond to messages from a document interaction controller.
Declaration
protocol UIDocumentInteractionControllerDelegate : NSObjectProtocolOverview
Use this protocol to participate when document previews are displayed and when a document is about to be opened by another application. You can also use this protocol to respond to commands (such as “copy” and “print”) from a document interaction controller’s options menu.
If you use a document interaction controller to display a document preview, your delegate must implement the documentInteractionControllerViewControllerForPreview(_:) method. All other methods of this protocol are optional.
For more information about using a document interaction controller, see UIDocumentInteractionController.
Topics
Configuring the parent view controller
documentInteractionControllerViewControllerForPreview(_:)documentInteractionControllerViewForPreview(_:)documentInteractionControllerRectForPreview(_:)
Presenting the user interface
documentInteractionControllerWillBeginPreview(_:)documentInteractionControllerDidEndPreview(_:)documentInteractionControllerWillPresentOptionsMenu(_:)documentInteractionControllerDidDismissOptionsMenu(_:)documentInteractionControllerWillPresentOpenInMenu(_:)documentInteractionControllerDidDismissOpenInMenu(_:)
Opening files
documentInteractionController(_:willBeginSendingToApplication:)documentInteractionController(_:didEndSendingToApplication:)