Contents

maximumNumberOfLines

The maximum number of lines that the text container can store.

Declaration

var maximumNumberOfLines: Int { get set }

Discussion

The layout manager uses the value of this property to determine the maximum number of lines associated with the text container. The default value of this property is 0, which indicates that there is no limit.

See Also

Constraining text layout