Freigeben über


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

Definition

Wendet mehrere Bearbeitungen von UITableViewan und animiert sie gleichzeitig.

[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

Parameter

updates
Action

Die auszuführenden Updates.

Dieser Parameter kann null sein.

completion
Action<Boolean>

Der Handler, der nach Abschluss der Updates ausgeführt werden soll. Nimmt einen booleschen Wert an, der angibt, ob alle Animationen abgeschlossen wurden.

Dieser Parameter kann null sein.

Attribute

Gilt für: