Editar

Compartir a través de


UITableView.PerformBatchUpdates(Action, Action<Boolean>) Method

Definition

Applies and simultaneously animates multiple manipulations of the UITableView.

[Foundation.Export("performBatchUpdates:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PerformBatchUpdates (Action updates, Action<bool> completion);
abstract member PerformBatchUpdates : Action * Action<bool> -> unit
override this.PerformBatchUpdates : Action * Action<bool> -> unit

Parameters

updates
Action

The updates to perform.

This parameter can be null.

completion
Action<Boolean>

The handler to run after the updates complete. Takes a Boolean that tells whether all the animations completed.

This parameter can be null.

Attributes

Applies to