Is there an easy way to get (or simply display) the text from a given line in a UILabel?
My UILabel is correctly displaying my text and laying it out beautifully but occasionally I need to be able to just show certain lines but obviously I need to know how UILabel has positioned everything to do this.
I know this could easily be done with a substring but I'd need to know the start and end point of the line.
Alternatively I could scroll the UILabel if there was some kind of offset to the UILabel's frame and hide the rest of the content I didn't want to see.
I've not been able to uncover anything that shows how this could be done easily. Anyone got any good ideas?