Upravit

Sdílet prostřednictvím


UIViewController.Editing Property

Definition

true if the UIViewController allows the application user to edit the UIView contents.

public virtual bool Editing { [Foundation.Export("isEditing")] get; [Foundation.Export("setEditing:")] set; }
member this.Editing : bool with get, set

Property Value

true if in editing mode, false otherwise.

Attributes

Remarks

If the application developer wishes to allow editing in the UIViewController, they should set this value to true. If the UIBarButtonItem retrieved by the EditButtonItem is visible in the UINavigationBar, that button’s Title will reflect this value.

Applies to

See also