Vertical adjustment options.
- iOS 2.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
Baseline adjustment options determine how to adjust the position of text in cases where the text must be drawn using a different font size than the one originally specified. For example, with the
UIBaseline option, the position of the baseline remains fixed at its initial location while the text appears to move toward that baseline. Similarly, the
UIBaseline option makes it appear as if the text is moving upwards towards the top-left corner of the bounding box.