편집

다음을 통해 공유


UICollectionView.InsertSections(NSIndexSet) Method

Definition

Creates new sections in the UICollectionView, animating as necessary.

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

Parameters

sections
NSIndexSet

An NSIndexSet indicating the desired insertion locations.

Attributes

Remarks

Calling this method will trigger a request for layout information from the CollectionViewLayout. If the result includes visible elements, those elements will be populated via the DataSource and animated onto the screen.

Applies to