I just used the Hopper disassembler to look at UILabel in iOS 8.1, and it implements the _baselineOffsetFromBottom and _firstBaselineOffsetFromTop , which in turn are called -[UIView nsli_lowerAttribute:intoExpression:withCoefficient:forConstraint:] , so the UIKit methods often have, UIKit X, they simply are not exposed to the public.
_baselineOffsetFromBottom and _firstBaselineOffsetFromTop are implemented by UIView (return 0), UILabel and UITextView. There is also a class called _UIGlintyStringView that implements _baselineOffsetFromBottom ; no other UIKit classes have these methods.
Btw, when the baseline of the view changes, it does something like:
__UITagLayoutConstraintsForConstantChangeForSelectedAttributes(self, __UILayoutAttributeIsBaselineAttribute)
It does not seem that there is anything special that could not be published; perhaps they did not feel there or did not want to prevent people from writing their own labels. UILabel is a fairly sophisticated class that includes a custom CoreAnimation level (_UILabelLayer) and crap, including quite a bit of code to support accessibility.
source share