iOS Guides | Samples

MonoTouch.UIKit.UIDocumentPickerExtensionViewController Class

Subclasses of UIDocumentPickerExtensionViewController extend the Document Picker, allowing the user to import, export, open, and move documents outside of the local sandbox.

See Also: UIDocumentPickerExtensionViewController

Syntax

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

Related content

Requirements

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

The members of MonoTouch.UIKit.UIDocumentPickerExtensionViewController 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 document picker extension view controller from the named NIB in the provided bundle.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
DocumentPickerModeUIDocumentPickerMode. Gets the file transfer operation as a value of the UIDocumentPickerMode enumeration for this UIDocumentPickerExtensionViewController controller.
[read-only]
DocumentStorageUrlNSUrl. Gets the root URL for documents provided by the file provider associated with this UIDocumentPickerExtensionViewController controller.
[read-only]
OriginalUrlNSUrl. Gets the URL of the file that the app exports, or null if this UIDocumentPickerExtensionViewController is not in export mode.
[read-only]
ProviderIdentifierString. Gets an identifier shared by this UIDocumentPickerExtensionViewController controller and an associated file provider.
[read-only]
ValidTypesString[]. Gets an array of uniform type identifiers for valid types if this UIDocumentPickerExtensionViewController controller is in import or open mode, or null for other modes.

Public Methods

DismissGrantingAccess(NSUrl)
Initiates a transfer of the url file and then dismisses this UIDocumentPickerExtensionViewController controller.
PrepareForPresentation(UIDocumentPickerMode)
Performs custom configuration of this UIDocumentPickerExtensionViewController controller based on the mode that is specified.