Deletes the items at the specified index paths.
- iOS 6.0+
- tvOS 9.0+
An array of
NSIndexobjects, each of which contains a section index and item index for the item you want to delete from the collection view. This parameter must not be
Use this method to remove items from the collection view. You might do this when you remove the items from your data source object or in response to user interactions with the collection view. The collection view updates the layout of the remaining items to account for the deletions, animating the remaining items into position as needed.
You can also call this method from a block passed to the
perform method when you want to animate multiple separate changes into place at the same time. See the description of that method for more information.