編輯

共用方式為


UIDocument.AutoSave(UIOperationHandler) Method

Definition

Called by the system immediately prior to automatic saving of UIDocuments with unsaved changes.

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

Parameters

completionHandler
UIOperationHandler

A code action that is executed when a save operation comes to a conclusion.

This parameter can be null.

Attributes

Remarks

This can be used from a background thread.

Applies to