UICollectionView.DeleteItems(NSIndexPath[]) 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 items from the UICollectionView.
[Foundation.Export("deleteItemsAtIndexPaths:")]
public virtual void DeleteItems (Foundation.NSIndexPath[] indexPaths);
abstract member DeleteItems : Foundation.NSIndexPath[] -> unit
override this.DeleteItems : Foundation.NSIndexPath[] -> unit
Parameters
- indexPaths
- NSIndexPath[]
An array of NSIndexPaths specifying the items 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.