Instance Property


The preferred maximum width (in points) for a multiline label.


var preferredMaxLayoutWidth: CGFloat { get set }


This property affects the size of the label when layout constraints are applied to it. During layout, if the text extends beyond the width specified by this property, the additional text flows to one or more new lines, increasing the height of the label.