I have an attributed string that I want to draw bottom-aligned into a rectangular path, using Core Text. Is there a way to get CTFrameSetter / CTFrame to do this, or do I need to do it manually? The manual way being:
- Figure out the height of the frame using CTFramesetterSuggestFrameSizeWithConstraints
- Adjust the height of the path.
You’ll have to do it manually.
Reference: Vertical align with Core Text?