Contents

heightAnchor

A layout anchor representing the guide’s height.

Declaration

var heightAnchor: NSLayoutDimension { get }

Discussion

Use this anchor to create constraints with the guide’s height. You can only combine this anchor with other NSLayoutDimension anchors. For more information, see NSLayoutAnchor.

See Also

Creating constraints using layout anchors