I am trying to get the exact source text of a UILabel text.
label.frame.maxY
returns max y fields UILabel.
But what I really want is the maxY position of the text .
Ignore the "button". I was just looking for this image from Google. I know how to get what the first returns (maxY), but I want to know how to get the second (where the dashline is under the text).

Thanks for any help!
source share