iOS Guides | Samples

MonoTouch.UIKit.UIDocumentPickerViewController Class

Allows the user to select external documents or destinations.

See Also: UIDocumentPickerViewController


[MonoTouch.Foundation.Register("UIDocumentPickerViewController", 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 UIDocumentPickerViewController : UIViewController, IDisposable

See Also

Related content


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

The members of MonoTouch.UIKit.UIDocumentPickerViewController 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.
Creates a new UIDocumentPickerViewController for the specified URL and picker mode.

Public Properties

ClassHandleIntPtr. The handle for this class.
DelegateUIDocumentPickerDelegate. An instance of the MonoTouch.UIKit.UIDocumentPickerDelegate model class which acts as the class delegate.
DocumentPickerModeUIDocumentPickerMode. Gets a value that indicates whether the picker will import a file, export a file to a service, move a file and provide access to it, or open a file.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Protected Methods

Releases the resources used by the UIDocumentPickerViewController object.

Public Events

DidPickDocumentEvent raised by the object.
WasCancelledEvent raised by the object.