Editar

Compartilhar via


UICollectionView.DeleteSections(NSIndexSet) Method

Definition

Deletes one or more sections from the UICollectionView.

[Foundation.Export("deleteSections:")]
public virtual void DeleteSections (Foundation.NSIndexSet sections);
abstract member DeleteSections : Foundation.NSIndexSet -> unit
override this.DeleteSections : Foundation.NSIndexSet -> unit

Parameters

sections
NSIndexSet

An NSIndexSet that specifies the section to be deleted.

Attributes

Remarks

After deletion, the UICollectionView will animate the layout as needed.

If the application developer wishes to coordinate several updates without individual animations, they can use the PerformBatchUpdates(Action, UICompletionHandler) method.

Applies to