Contents

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