No large titles margin on iOS 26

I need more time to adapt to the new iOS 26 UI, so I set the "UIDesignRequiresCompatibility" attribute to "Yes."

This works, but now all large titles are not aligned with the content. Below you can see an example, but I have the issue with all large titles. All good on iOS 18.

Does anyone have an idea why and how can i fix it?

Answered by DaleOne in 855872022

Just found that in order to bring back the large title margin, I have to set the navigation controller navigation bar preservesSuperviewLayoutMargins property to true.

navigationBar.preservesSuperviewLayoutMargins = true

A bug report with screenshots and a small test project showing this off would be helpful here. Please post the FB number of your report to this thread for reference.

Accepted Answer

Just found that in order to bring back the large title margin, I have to set the navigation controller navigation bar preservesSuperviewLayoutMargins property to true.

navigationBar.preservesSuperviewLayoutMargins = true
No large titles margin on iOS 26
 
 
Q