Small navigation title is not appearing on scroll [duplicate]

1 week ago 12
ARTICLE AD BOX

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

matt's user avatar

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

2025-09-29T16:11:47.027Z+00:00

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.

2025-09-29T16:13:09.787Z+00:00

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...

2025-09-29T16:26:25.687Z+00:00

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.

HangarRash's user avatar

HangarRash

16.6k5 gold badges29 silver badges63 bronze badges

Gamz Rs's user avatar

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.

Read Entire Article