---
title: UINavigationItem.TitleAlignment.automatic
framework: UIKit
role: symbol
role_heading: Case
platforms: [iOS 27.2+, iPadOS 27.2+, Mac Catalyst 27.2+, tvOS 27.2+, visionOS 27.2+]
path: uikit/uinavigationitem/titlealignment-swift.enum/automatic
---

# UINavigationItem.TitleAlignment.automatic

The system determines the alignment.

## Declaration

```swift
case automatic
```

## Discussion

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.
