Instance Property


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


var firstBaselineAnchor: NSLayoutYAxisAnchor { get }


For views with multiple lines of text, this anchor represents the baseline of the top 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.