A layout anchor representing the baseline for the bottommost line of text in the view.
SDKs
- iOS 9.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
var lastBaselineAnchor: NSLayout YAxis Anchor { 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 NSLayout
anchors. For more information, see NSLayout
.