firstBaselineAnchor
A layout anchor representing the baseline for the topmost line of text in the view.
Declaration
var firstBaselineAnchor: NSLayoutYAxisAnchor { get }Mentioned in
Discussion
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.