I have an App with a UITabBarController. When one of the Tabs is selected then it presents a UINavigationController. This in turn presents a UIViewController to start with. (Call it myViewVC)
myViewVC has a UITableView. This is the only subview of myViewVC.
When I scroll I expect the UINavigationBar to collapse from a large Title to a small title. But instead I see no small title. This all worked fine in iOS18.x
I have tried various things suggested on forums and by AI and none of these have fixed the problem
-
I have set both self.navigationItem.title = @"My VC"; and self.navigationItem.largeTitle = @"My VC (New in iOS26)
-
It was suggested that I tie the UITableView constraints to the top of the view rather than the safe area. That did not help.
-
I have removed any custom appearance settings for the UINavigationBar. That did not help.
-
I also tried to add this line but it did not help
myTableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
Could you please review Customizing your app’s navigation bar and let us know if you're able to reproduce the issue using the sample code.