iOS Guides | Samples

UIKit.UIDocumentInteractionControllerDelegate Class

A class used to receive notifications from the UIDocumentInteractionController class.

See Also: UIDocumentInteractionControllerDelegate

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("UIDocumentInteractionControllerDelegate", false)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public class UIDocumentInteractionControllerDelegate : NSObject, IDisposable, IUIDocumentInteractionControllerDelegate

See Also

Remarks

Application developers can override methods in this class in order to support different types of interaction with files on the device.

Related content

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of UIKit.UIDocumentInteractionControllerDelegate are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

CanPerformAction(UIDocumentInteractionController, Selector) : Boolean
Developers should not use this deprecated method, which determines whether the specified controller should support the specified action.
DidDismissOpenInMenu(UIDocumentInteractionController)
Indicates that the UIDocumentInteractionController has dismissed it's "Open In" menu.
DidDismissOptionsMenu(UIDocumentInteractionController)
Indicates that the UIDocumentInteractionController has dismissed its options menu.
DidEndPreview(UIDocumentInteractionController)
Indicates that the UIDocumentInteractionController has dismissed its document preview.
DidEndSendingToApplication(UIDocumentInteractionController, String)
Indicates that the UIDocumentInteractionController has handed off its document to the specified application.
PerformAction(UIDocumentInteractionController, Selector) : Boolean
Developers should not use this deprecated method.
RectangleForPreview(UIDocumentInteractionController) : CGRect
Indicates that the UIDocumentInteractionController requires the rectangle to use as the starting point for animating the display of a document preview.
ViewControllerForPreview(UIDocumentInteractionController) : UIViewController
Indicates that the UIDocumentInteractionController needs a UIViewController for presenting a document preview.
ViewForPreview(UIDocumentInteractionController) : UIView
Indicates that the UIDocumentInteractionController requires the starting point for animating the display of a document preview.
WillBeginPreview(UIDocumentInteractionController)
Indicates that the UIDocumentInteractionController is about to display a document preview.
WillBeginSendingToApplication(UIDocumentInteractionController, String)
Indicates that the UIDocumentInteractionController's document is about to be opened by the specified application.
WillPresentOpenInMenu(UIDocumentInteractionController)
Indicates that the UIDocumentInteractionController is about to display an "Open In" menu.
WillPresentOptionsMenu(UIDocumentInteractionController)
Indicates that the UIDocumentInteractionController is about to display an options menu.