Sdílet prostřednictvím


UICollectionView.PerformBatchUpdatesAsync(Action) Method

Definition

Applies and simultaneously animates multiple manipulations of the UICollectionView.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<bool> PerformBatchUpdatesAsync(Action? updates);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformBatchUpdatesAsync : Action -> System.Threading.Tasks.Task<bool>
override this.PerformBatchUpdatesAsync : Action -> System.Threading.Tasks.Task<bool>

Parameters

updates
Action

An delegate specifying the updates to apply.

Returns

A task that represents the asynchronous PerformBatchUpdates operation. The value of the TResult parameter is a UICompletionHandler.

Attributes

Applies to