Is it possible to show an attributedString or something alike at the middle position of the navigationbar?

Asked on 2025-09-05

1 search

Yes, it is possible to show an AttributedString or similar styled text in the middle position of the navigation bar. In iOS 26, UINavigationItem provides more control over the title and subtitle areas in the navigation bar, allowing for fine-grained adjustments using attributed strings. You can specify custom views to add interactive elements, and use attributed strings for both the title and subtitle to achieve the desired styling and positioning.

For more details, you can refer to the session Build a UIKit app with the new design (08:54) where these features are discussed.