Disable iOS 26 UINavigationBar Auto Intvert Background and Title

I have a UISplitView with a UINavigationBar where I on iPhone have an issue with a containing UITableView which is not directly placed under the NavigationBar. When the new effect in iOS 26 kicks in it also seems to affect to topmost UINavigationBar which I do not want. It's when the clear UINavigationBar directly over the UITableView and passes over a content that it needs to invert its title over, it does. However it also inverts everything (background + title) of another topmost uinavigationbar which I don't want. This is even opaque and have no reason to invert its colors.

Any ideas on how to disable this?

navigationItem.style = .editor navigationItem.centerItemGroups = [editorNavigationHelper.iPadCenterItemGroup()] navigationItem.rightBarButtonItems = editorNavigationHelper.rightBarButtonItems()

    let documentProperties = UIDocumentProperties(url: document.fileURL)
    if let itemProvider = NSItemProvider(contentsOf: document.fileURL) {
        documentProperties.dragItemsProvider = { _ in
            [UIDragItem(itemProvider: itemProvider)]
        }
        documentProperties.activityViewControllerProvider = {
            UIActivityViewController(activityItems: [itemProvider], applicationActivities: nil)
        }
    }

    navigationItem.title = if UIDevice.current.isIPhone {
        document.localizedName.trimmedToMax(12, appendingDots: true, adjustForDots: true)
    } else {
        document.localizedName
    }
    navigationItem.documentProperties = documentProperties

    navigationItem.titleMenuProvider = { [weak self] suggested in
        guard let self else {
            return UIMenu(children: [])
        }
        let custom = [
            // ...
        ]
        return UIMenu(children: suggested + custom)
    }


    let navAppearance = UINavigationBarAppearance()
    navAppearance.configureWithOpaqueBackground()
    navAppearance.backgroundColor = UIColor.systemBackground
    navAppearance.titleTextAttributes = [.foregroundColor: UIColor.label]

    if let navBar = navigationController?.navigationBar {
        navBar.standardAppearance = navAppearance
        navBar.scrollEdgeAppearance = navAppearance
        navBar.compactAppearance = navAppearance
        navBar.isTranslucent = false
        navBar.backgroundColor = .systemBackground
    }

You could try adjusting the edge effect using UIScrollEdgeEffect and specifying a different style.

That said, starting in iOS 26, the recommendation is to reduce your use of custom backgrounds in navigation elements and controls. Any custom backgrounds and appearances you use in the navigation bar might overlay or interfere with Liquid Glass or other effects that the system provides, such as the scroll edge effect.

To learn how to update your app to adopt Liquid Glass, see the following resources:

Disable iOS 26 UINavigationBar Auto Intvert Background and Title
 
 
Q