Uilinebreakmodewordwrap explained in detail as follows:
typedef enum {
Uilinebreakmodewordwrap = 0,
Uilinebreakmodecharacterwrap,
Uilinebreakmodeclip,
Uilinebreakmodeheadtruncation,
Uilinebreakmodetailtruncation,
Uilinebreakmodemiddletruncation,
} Uilinebreakmode;
Uilinebreakmodewordwrap = 0,
Breaks the line in words, truncated in words.
Uilinebreakmodecharacterwrap,
Lines are wrapped in characters, truncated in characters.
Uilinebreakmodeclip,
Wraps the line in words. truncated in characters.
Uilinebreakmodeheadtruncation,
Wraps the line in words. If it is a single line, the start part has an ellipsis. If it is multiple lines, there is an ellipsis in the middle, and the ellipsis is followed by 4 characters.
Uilinebreakmodetailtruncation,
Wraps the line in words. Whether it is a single line or multiple lines, there is an ellipsis at the end.
Uilinebreakmodemiddletruncation,
Wraps the line in words. Whether it is a single line or multiple lines, there is an ellipsis in the middle, and only 2 characters after the ellipsis.
iOS Basics of Uilinebreakmodewordwrap