UIDocumentBrowserViewControllerDelegate.DidRequestDocumentCreation Method

Definition

Developers may implement this method to respond to a request to create a new document.

[Foundation.Export("documentBrowser:didRequestDocumentCreationWithHandler:")]
public virtual void DidRequestDocumentCreation (UIKit.UIDocumentBrowserViewController controller, Action<Foundation.NSUrl,UIKit.UIDocumentBrowserImportMode> importHandler);
abstract member DidRequestDocumentCreation : UIKit.UIDocumentBrowserViewController * Action<Foundation.NSUrl, UIKit.UIDocumentBrowserImportMode> -> unit
override this.DidRequestDocumentCreation : UIKit.UIDocumentBrowserViewController * Action<Foundation.NSUrl, UIKit.UIDocumentBrowserImportMode> -> unit

Parameters

controller
UIDocumentBrowserViewController

The controller that made the request.

importHandler
Action<NSUrl,UIDocumentBrowserImportMode>

The handler to run after the document is created.

Attributes

Remarks

importHandler receives the orginal document location and the import moded that was used during the import operation.

Applies to