How can I make a custom left aligned navigation title that doesn’t get wrapped in liquid glass in UIKit?

Asked on 06/15/2025

1 search

To create a custom left-aligned navigation title in UIKit that doesn't get wrapped in Liquid Glass, you can use the new design features introduced in iOS 26. Here are some steps based on the session "Build a UIKit app with the new design" from WWDC 2025:

  1. Use the New Subtitle API: You can use the new Subtitle API to add a subtitle below the large title in the navigation bar. This allows for more control over the title and subtitle areas in the navigation bar.

  2. Avoid Background Customization: The new design system in iOS 26 makes the bar background transparent by default. It's important to remove any background customization from your navigation and toolbars using UIBarAppearance or background color, as these can interfere with the glass appearance.

  3. Layout Margins: When laying out your custom view contents, use the layout margins to ensure correct spacing and alignment.

  4. Custom Views: Specify custom views to add interactive elements. Large titles are now placed at the top of the content scroll view and scroll with the content underneath the bar. To keep the large title visible, extend the scroll view fully under the navigation bar.

For more detailed guidance, you can refer to the session Build a UIKit app with the new design (07:19) which covers navigation and toolbars in the new design system.