Instance Property


The width, in screen points, after which line-break mode should be applied.


var preferredMaxLayoutWidth: CGFloat { get set }


The default value is 0, which means that line break mode will not be applied.

See Also

Defining a Label's Line-Breaking Behavior

var lineBreakMode: NSLineBreakMode

Determines the line-break mode for multiple lines.

var numberOfLines: Int

Determines the number of lines to draw.