Edit

Share via


UIViewController.SetEditing(Boolean, Boolean) Method

Definition

Turns editing mode on or off.

[Foundation.Export("setEditing:animated:")]
public virtual void SetEditing (bool editing, bool animated);
abstract member SetEditing : bool * bool -> unit
override this.SetEditing : bool * bool -> unit

Parameters

editing
Boolean

true to enter editing mode, false to end editing. The default is false.

animated
Boolean

true to animate the transition to or from editingmode, or false to change modes immediately.

Attributes

Applies to