UICollectionView.DeleteSections(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.
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.