Instance Property

lastBaselineAnchor

A layout anchor representing the baseline for the bottommost line of text in the view.

Declaration

var lastBaselineAnchor: NSLayoutYAxisAnchor { get }

Discussion

For views with multiple lines of text, this anchor represents the baseline of the bottom row of text. Use this anchor to create constraints with this baseline. You can combine this anchor only with other NSLayoutYAxisAnchor anchors. For more information, see NSLayoutAnchor.