Instance Property

preferredMaxLayoutWidth

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

Declaration

var preferredMaxLayoutWidth: CGFloat { get set }

Discussion

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.