Contents

bottomAnchor

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

Declaration

var bottomAnchor: NSLayoutYAxisAnchor { get }

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