<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -",
    "tvOS: 15.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIButton/Configuration-swift.struct/titleLineBreakMode",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So8UIButtonC5UIKitE13ConfigurationV18titleLineBreakModeSo06NSLinefG0Vvp"
  },
  "title" : "titleLineBreakMode"
}
-->

# titleLineBreakMode

The line break mode the button uses to lay out the button’s title.

```
var titleLineBreakMode: NSLineBreakMode { get set }
```

## Discussion

Word and character wrapping modes enable multiline text, while other modes restrict the text to a single line.

The default value is [`NSLineBreakMode.byWordWrapping`](/documentation/UIKit/NSLineBreakMode/byWordWrapping).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)