Adds the decoration views at the specified index paths to the list of invalid items.
- iOS 8.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
A string that identifies the type of the decoration views. This parameter must not be
An array of
NSIndexobjects. Each index path represents a supplementary view of the given kind whose layout needs to be recomputed.
Call this method to identify the specific decoration views whose layout attributes changed. The views you specify are added to the dictionary in the
invalidated property. All of the views you specify should be of the type that you specified in the
element parameter. If you call this method two or more times with the same value for the
element parameter, this method merges the new index paths with the ones previously specified.