<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UILabel/baselineAdjustment",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UILabel(py)baselineAdjustment"
  },
  "title" : "baselineAdjustment"
}
-->

# baselineAdjustment

An option that controls whether the text’s baseline remains fixed when text needs to shrink to fit in the label.

```
var baselineAdjustment: UIBaselineAdjustment { get set }
```

## Discussion

If [`adjustsFontSizeToFitWidth`](/documentation/UIKit/UILabel/adjustsFontSizeToFitWidth) is <doc://com.apple.documentation/documentation/Swift/true>, this property controls the behavior of the text baselines in situations where the text needs the font size adjusted in order to fit. The default value of this property is [`UIBaselineAdjustment.alignBaselines`](/documentation/UIKit/UIBaselineAdjustment/alignBaselines). This property is effective only when the [`numberOfLines`](/documentation/UIKit/UILabel/numberOfLines) is `1`.

---

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)