UIToolbar in UINavigationController in UITabBar

My view structure in UIKit is like this: UITabBarController (with UITabBar) -> UINavigationController -> UIToolbar (by setting self.navigationController.toolbarHidden = NO). The toolbar is shown in red in the picture. I'm using it like so:

self.navigationController.toolbarHidden = NO;
self.toolbarItems = @[element1, element2];

This toolbar does work fine up to iOS 18.5 but it does not show up when compiling using iOS 26 Beta 3. Is this a bug?

I don't see any deprecation in the documentation about it. Am I doing something wrong?

I get an error when trying to update the post, therefore I add it as a new comment: The toolbar is showing up on iPadOS 26.

UIToolbar in UINavigationController in UITabBar
 
 
Q