<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICollectionView/visibleSupplementaryViews(ofKind:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICollectionView(im)visibleSupplementaryViewsOfKind:"
  },
  "title" : "visibleSupplementaryViews(ofKind:)"
}
-->

# visibleSupplementaryViews(ofKind:)

Gets an array of the visible supplementary views of the specified kind.

```
func visibleSupplementaryViews(ofKind elementKind: String) -> [UICollectionReusableView]
```

## Parameters

`elementKind`

The kind of supplementary view to locate. This value is defined by the layout object. This parameter must not be `nil`.

## Return Value

An array of the visible supplementary views. If no supplementary views are visible, the returned array is empty.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)