UITableView.EndUpdates Method

Definition

Finalize a series of method calls that insert, update or select rows to animate as one operation. BeginUpdates() must be called before the modifications are made.

[Foundation.Export("endUpdates")]
public virtual void EndUpdates ();
abstract member EndUpdates : unit -> unit
override this.EndUpdates : unit -> unit
Attributes

Remarks

Call this method to bracket a series of table modifications (insert, delete or select rows) that began with BeginUpdates(). When EndUpdates is called the table view animates the operations simultaneously. Calls to BeginUpdates() and EndUpdates can be nested. If you make insertion, deletion or selection calls outside of a BeginUpdates()/EndUpdates block then table attributes such as row count might become invalid.

Applies to