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

# UIBaselineAdjustment

Vertical adjustment options.

```
enum UIBaselineAdjustment
```

## Overview

Baseline adjustment options determine how to adjust the position of text in cases where the text must be drawn using a different font size than the one originally specified. For example, with the [`UIBaselineAdjustment.alignBaselines`](/documentation/UIKit/UIBaselineAdjustment/alignBaselines) option, the position of the baseline remains fixed at its initial location while the text appears to move toward that baseline. Similarly, the [`UIBaselineAdjustment.none`](/documentation/UIKit/UIBaselineAdjustment/none) option makes it appear as if the text is moving upwards toward the top-left corner of the bounding box.

## Topics

### Constants

[`UIBaselineAdjustmentAlignBaselines`](/documentation/UIKit/UIBaselineAdjustment/alignBaselines)

Adjust text relative to the position of its baseline.

[`UIBaselineAdjustmentAlignCenters`](/documentation/UIKit/UIBaselineAdjustment/alignCenters)

Adjust text relative to the center of its bounding box.

[`UIBaselineAdjustmentNone`](/documentation/UIKit/UIBaselineAdjustment/none)

Adjust text relative to the top-left corner of the bounding box.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)