Returns the index paths of all visible supplementary views of the specified type.
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The kind of supplementary view to locate. This value is defined by the layout object. This parameter must not be
An array of
NSIndex objects, each of which corresponds to a visible supplementary view in the collection view. If there are no visible supplementary views, this method returns an empty array.