The technique to use for wrapping and truncating the label’s text.
- iOS 2.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
If you are not using styled text, this property applies to the entire text string in the
text property. If you are using styled text, assigning a new value to this property causes the line break mode to be applied to the entirety of the string in the
attributed property. If you want 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 font size must be reduced to fit the label’s text in its bounding box. This property is set to
NSLine by default.