Edytuj

Udostępnij za pośrednictwem


UIDocumentInteractionControllerDelegate_Extensions Class

Definition

Extension methods to the IUIDocumentInteractionControllerDelegate interface to support all the methods from the UIDocumentInteractionControllerDelegate protocol.

public static class UIDocumentInteractionControllerDelegate_Extensions
type UIDocumentInteractionControllerDelegate_Extensions = class
Inheritance
UIDocumentInteractionControllerDelegate_Extensions

Remarks

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

Methods

CanPerformAction(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, Selector)

Developers should not use this deprecated method, which determines whether the specified controller should support the specified action.

DidDismissOpenInMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that the controller has dismissed its "Open In..." menu.

DidDismissOptionsMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that the controller has dismissed its "Options" menu.

DidEndPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that the controller has ended its document preview.

DidEndSendingToApplication(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, String)

Indicates that the controller's document has been handed off to the specified application.

PerformAction(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, Selector)

Developers should not use this deprecated method.

RectangleForPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

The RectangleF used as the starting point for animating the display of a document preview.

ViewControllerForPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

The UIViewController that provides the document preview.

ViewForPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

The UIView to use as the starting point for the animation preview. If null, the preview fades into place.

WillBeginPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that document preview is about to start.

WillBeginSendingToApplication(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, String)

Indicates that the controller's document is about to be handed off to the specified application.

WillPresentOpenInMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that the "Open In..." menu is about to be presented to the app user.

WillPresentOptionsMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that the "Options" menu is about to be presented to the app user.

Applies to