If I have a UILabel of a certain size, with the line break mode set in WordWrap and numberOfLines = 0 (so it grows depending on the amount of text), is there a way to determine which characters are in each line of the label?
So, if I have the text “All People Seem To Need Data Processing” as the text on the label and it is supposed to be displayed on the screen
All People
Seem To
Need Data
Processin
g
Is there any way to find out the text on each line? or the width of each line?
Line 1: All people
Line 2: similar to
Line 3: data needed
Line 4: Process
Line 5: g
source
share