numberOfLines
Determines the number of lines to draw.
Declaration
var numberOfLines: Int { get set }Discussion
The default value is 1 (a single line). A value of 0 in interpreted as an unlimited number of lines. If the height of the text reaches the number of lines, the text will be truncated using the line break mode.