UIDocument.Close(UIOperationHandler) Method

Definition

Asynchronously closes the document after saving any changes.

[Foundation.Export("closeWithCompletionHandler:")]
public virtual void Close (UIKit.UIOperationHandler completionHandler);
abstract member Close : UIKit.UIOperationHandler -> unit
override this.Close : UIKit.UIOperationHandler -> unit

Parameters

completionHandler
UIOperationHandler

This parameter can be null.

Attributes

Remarks

This can be used from a background thread.

Applies to