---
title: lineBreakStrategy
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uilabel/linebreakstrategy
---

# lineBreakStrategy

The strategy that the system uses to break lines when laying out multiple lines of text.

## Declaration

```swift
var lineBreakStrategy: NSParagraphStyle.LineBreakStrategy { get set }
```

## Discussion

Discussion The default value is standard. note: When the label has an attributed string value, the system ignores the textColor, font, textAlignment, lineBreakMode, and lineBreakStrategy properties. Set the NSForegroundColorAttributeName, NSFontAttributeName, alignment, lineBreakMode, and lineBreakStrategy properties in the attributed string instead.

## See Also

### Accessing the text attributes

- [text](uikit/uilabel/text.md)
- [attributedText](uikit/uilabel/attributedtext.md)
- [font](uikit/uilabel/font.md)
- [textColor](uikit/uilabel/textcolor.md)
- [textAlignment](uikit/uilabel/textalignment.md)
- [lineBreakMode](uikit/uilabel/linebreakmode.md)
- [isEnabled](uikit/uilabel/isenabled.md)
- [enablesMarqueeWhenAncestorFocused](uikit/uilabel/enablesmarqueewhenancestorfocused.md)
- [showsExpansionTextWhenTruncated](uikit/uilabel/showsexpansiontextwhentruncated.md)
