Instance Property

lineLimit

The number of lines used to render text in the available space.

Declaration

var lineLimit: Int? { get set }

Discussion

If this value is nil, the text uses as many lines as required. The default is 1.