<!--
{
  "availability" : [
    "iOS: 27.2.0 -",
    "iPadOS: 27.2.0 -",
    "macCatalyst: 27.2.0 -",
    "tvOS: 27.2.0 -",
    "visionOS: 27.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UINavigationItem/TitleAlignment-swift.enum/automatic",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UINavigationItemTitleAlignment@UINavigationItemTitleAlignmentAutomatic"
  },
  "title" : "UINavigationItem.TitleAlignment.automatic"
}
-->

# UINavigationItem.TitleAlignment.automatic

The system determines the alignment.

```
case automatic
```

## Discussion

Typically, the title is centered, but the system may choose to leading align the title based on the context the title is rendered in.
When read from `UITraitCollection.navigationTitleAlignment`, this means the system has not resolved an alignment for the title.

---

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)