---
title: containerAnchor
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/nscollectionlayoutsupplementaryitem/containeranchor
---

# containerAnchor

The anchor between the supplementary item and the container it’s attached to.

## Declaration

```swift
var containerAnchor: NSCollectionLayoutAnchor { get }
```

## See Also

### Getting the anchors

- [itemAnchor](uikit/nscollectionlayoutsupplementaryitem/itemanchor.md)
