Instance Property

preferredMaxLayoutWidth

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

Declaration

@property(nonatomic) CGFloat preferredMaxLayoutWidth;

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

lineBreakMode

Determines the line-break mode for multiple lines.

numberOfLines

Determines the number of lines to draw.