UICollectionView.InsertSections(NSIndexSet) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.