4

After updating my app for iOS 26, the navigation item title stopped working when using large title and scrolling. Before the update, the large title was shown and when scrolled up, the normal small title was shown. After installing Xcode 26 and iOS 26, the normal title is no longer shown. When scrolling up the large title disappears correctly but the normal title is not showing up and no title is visible. The storyboard is also not showing the title as long as the prefers large title checkbox is checked. Is this an error with Xcode 26/iOS 26 or is there some new setting I'm missing? I tried the different appearances but nothing changed. I'm using a UIViewController embedded into an UINavigationController, the UITableView is set using constraints with 0 to the safeArea, the UISegmentedControl isn't changing anything. If I uncheck the prefers large title checkbox the normal title is shown in the storyboard and also on the device.

UINavigationController setup

UIViewController setup

2 Answers 2

1

In iOS 26 there are two different navigationItem properties, title and largeTitle. If you want to see both, you must set both.

the UITableView is set using constraints with 0 to the safeArea

That's the problem. The table view must be set with 0 to the top of the main view, so that you scroll behind the nav bar.

enter image description here

Sign up to request clarification or add additional context in comments.

3 Comments

Yeah setting the constraint to 0 to the superview seems to be the solution even without setting title and largeTitle, maybe the storyboard attribute is setting it for both. But that would mean that I have to remove the segmentedControl in order to make the title work, as the tableView top constraint is bound to the segmentedControl in the image, or at least I have to move it into the tableView, there can not be a fixed element above the tableView
Then you might have to change your interface. But that's not the topic of this question: you asked about making the large title and title interchange in response to scrolling, and I told you how to do it. Done.
Just as an example, you could make the segmented control be the navigation item's subtitleView. You will find yourself putting a lot more interface into a nav bar or toolbar under the new Liquid Glass regime...
0

In my case, I have setup a custom background color of my navigation bar. Since the navigation bar in iOS 26 is transparent, I removed the background color of my navigation bar and the large title becomes visible once-more.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.