iOS Guides | Samples

UIKit.UIDocumentMenuDelegate Class

Delegate object for UIDocumentMenuViewController objects. Provides methods called when a document is picked or when the picking has been cancelled.

See Also: UIDocumentMenuDelegate

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("UIDocumentMenuDelegate", false)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public abstract class UIDocumentMenuDelegate : NSObject, IUIDocumentMenuDelegate, IDisposable

Related content

Requirements

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

The members of UIKit.UIDocumentMenuDelegate are listed below.

See Also: NSObject

Protected Constructors

Default constructor, initializes a new instance of this class.
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

abstract
DidPickDocumentPicker(UIDocumentMenuViewController, UIDocumentPickerViewController)
The user picked a document from the menu.
abstract
WasCancelled(UIDocumentMenuViewController)
The user canceled the action.