The technique to use for wrapping and truncating the label’s text.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
If you aren’t using styled text, this property applies to the entire text string in the
text property. If you’re using styled text, assigning a new value to this property applies the line break mode to the entirety of the string in the
attributed property. To apply the line break mode to only a portion of the text, create a new attributed string with the desired style information and associate it with the label. However,
NSParagraph properties, such as those defined by
NSLine, apply to entire paragraphs (as defined for
paragraph), not words within paragraphs.
This property is in effect both during normal drawing and in cases where the label must reduce the font size to fit the text in its bounding box. The default value of this property is