I'm working on an old Objective-C project and I'm trying to adapt iOS 26 and liquid glass to current UI. I'm facing an issue that the three dot buttons won't automatically move inside navigation item bar/group after resizing window, instead it displays on top of the navigation left item.
App runs entirely on iPad.
What I tried:
Added SceneDelegate and initialized window by windowScene but most old code are still inside AppDelegate
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
let appDelegate = UIApplication.shared.delegate as! AppDelegate
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
guard let scene = (scene as? UIWindowScene) else { return }
window = UIWindow(windowScene: scene)
window?.isHidden = false
appDelegate.window = window
appDelegate.initWithWindow()
}
}
- (void)initWithWindow {
...
[self initViewControllers];
NSArray *tabArray = [self getTabArray];
self.mainTabVC = [[MainTabBarViewController alloc] init:tabArray];
self.window.rootViewController = self.mainTabVC;
[self.window setHidden:false];
...
}
What I'm trying to achieve:
EDIT:
- I moved all logic codes to SceneDelegate, now AppDelegate wouldn't do anything.
- How navigation controller is created:
let bookmark = BookmarksTabViewController(nibName: "BookmarksTabViewController", bundle: nil)
bookmarkNavigationController = UINavigationController(rootViewController: bookmark)
- How navigation button is added:
self.clearAllBarButton = [[UIBarButtonItem alloc] initWithTitle:@"C" style:UIBarButtonItemStylePlain target:self action:@selector(clearAllButtonPressed)];
self.clearAllBarButton.tintColor = UIColor.redColor;
self.navigationItem.leftBarButtonItems = @[self.clearAllBarButton];
There is no other logic related to navigation controller or item. Issue still stays the same.
EDIT 2:
After updating to iOS 26 and Xcode beta 4, the three buttons doesn't overlap my left navigation item anymore, but is still different than other apps.




