Upravit

Sdílet prostřednictvím


UIDocumentBrowserViewControllerDelegate_Extensions Class

Definition

Extension methods to the IUIDocumentBrowserViewControllerDelegate interface to support all the methods from the UIDocumentBrowserViewControllerDelegate protocol.

public static class UIDocumentBrowserViewControllerDelegate_Extensions
type UIDocumentBrowserViewControllerDelegate_Extensions = class
Inheritance
UIDocumentBrowserViewControllerDelegate_Extensions

Remarks

The extension methods for IUIDocumentBrowserViewControllerDelegate allow developers to treat instances of the interface as having all the optional methods of the original UIDocumentBrowserViewControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidImportDocument(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl, NSUrl)

Developers may implement this method to respond after a document is imported.

DidPickDocumentsAtUrls(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl[])
DidPickDocumentUrls(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl[])

Developers may implement this method to respond after the user selects document URLs.

DidRequestDocumentCreation(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, Action<NSUrl,UIDocumentBrowserImportMode>)

Developers may implement this method to respond to a request to create a new document.

FailedToImportDocument(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl, NSError)

Developers may implement this method to respond when the application fails to import a document.

GetApplicationActivities(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl[])

Returns an array of custom application activities for an activity view.

WillPresent(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, UIActivityViewController)

Developers may implement this method to prepare for the display of an activity view.

Applies to