iOS Guides | Samples

MonoTouch.UIKit.UIDocumentMenuViewController Class

A UIViewController that presents all available document pickers for a given file type and mode.

See Also: UIDocumentMenuViewController


[MonoTouch.Foundation.Register("UIDocumentMenuViewController", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UIDocumentMenuViewController : UIViewController, IDisposable

Related content


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.UIDocumentMenuViewController are listed below.

See Also: UIViewController

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
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 Properties

ClassHandleIntPtr. The handle for this class.
DelegateUIDocumentMenuDelegate. An instance of the MonoTouch.UIKit.UIDocumentMenuDelegate model class which acts as the class delegate.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Public Methods

AddOption(String, UIImage, UIDocumentMenuOrder, Action)
Adds a menu item, which runs the completionHandler action when it is clicked, to the document menue.

Protected Methods

Releases the resources used by the UIDocumentMenuViewController object.

Public Events

DidPickDocumentPickerEvent raised by the object.
WasCancelledEvent raised by the object.