maximumNumberOfLines
The maximum number of lines a wrapping text field displays before clipping or truncating the text.
Declaration
var maximumNumberOfLines: Int { get set }Discussion
The default value of 0 indicates no limit to the number of lines, and the text fills the bounds of the text field cell.
If the text field reaches the maximum number of lines, or if the height of the container can’t accommodate the number of lines, the text field clips or truncates the text, depending on the cell’s truncatesLastVisibleLine setting.