How to get text / String from nth line of UILabel?
问题 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