---
title: bottomAnchor
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsview/bottomanchor
---

# bottomAnchor

A layout anchor representing the bottom edge of the view’s frame.

## Declaration

```swift
var bottomAnchor: NSLayoutYAxisAnchor { get }
```

## Discussion

Discussion Use this anchor to create constraints with the view’s bottom edge. You can only combine this anchor with other NSLayoutYAxisAnchor anchors. For more information, see NSLayoutAnchor.

## See Also

### Creating Constraints Using Layout Anchors

- [centerXAnchor](appkit/nsview/centerxanchor.md)
- [centerYAnchor](appkit/nsview/centeryanchor.md)
- [firstBaselineAnchor](appkit/nsview/firstbaselineanchor.md)
- [heightAnchor](appkit/nsview/heightanchor.md)
- [lastBaselineAnchor](appkit/nsview/lastbaselineanchor.md)
- [leadingAnchor](appkit/nsview/leadinganchor.md)
- [leftAnchor](appkit/nsview/leftanchor.md)
- [rightAnchor](appkit/nsview/rightanchor.md)
- [topAnchor](appkit/nsview/topanchor.md)
- [trailingAnchor](appkit/nsview/trailinganchor.md)
- [widthAnchor](appkit/nsview/widthanchor.md)
