Returns an array of index paths representing the decoration views to remove.
- iOS 7.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The specific type of decoration view.
An array of
NSIndex objects indicating the decoration views you want to remove or an empty array if you do not want to remove any views of the given kind.
The collection view calls this method whenever you delete cells or sections to the collection view. Implementing this method gives your layout object an opportunity to remove any decoration views that are no longer needed.