<!--
{
  "availability" : [
    "iOS: 2.0.0 - 6.0.0",
    "iPadOS: 2.0.0 - 6.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UILineBreakMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UILineBreakMode"
  },
  "title" : "UILineBreakMode"
}
-->

# UILineBreakMode

Options for wrapping and truncating text.

```
enum UILineBreakMode : NSInteger;
```

## Overview

For methods that draw at a specified point (as opposed to those that draw in a rectangular region), these options specify the clipping behavior that UIKit applies to the string.

## Topics

### Deprecated constants

[`UILineBreakModeWordWrap`](/documentation/UIKit/UILineBreakMode/UILineBreakModeWordWrap)

Wrap or clip the string only at word boundaries.

[`UILineBreakModeCharacterWrap`](/documentation/UIKit/UILineBreakMode/UILineBreakModeCharacterWrap)

Wrap or clip the string at the closest character boundary.

[`UILineBreakModeClip`](/documentation/UIKit/UILineBreakMode/UILineBreakModeClip)

Clip the text when reaching the end of the drawing rectangle.

[`UILineBreakModeHeadTruncation`](/documentation/UIKit/UILineBreakMode/UILineBreakModeHeadTruncation)

Truncate text (as necessary) from the beginning of the line.

[`UILineBreakModeTailTruncation`](/documentation/UIKit/UILineBreakMode/UILineBreakModeTailTruncation)

Truncate text (as necessary) from the end of the line.

[`UILineBreakModeMiddleTruncation`](/documentation/UIKit/UILineBreakMode/UILineBreakModeMiddleTruncation)

Truncate text (as necessary) from the middle of the line.



---

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)