Since updating my Xcode and building my app for iOS 26, the buttons on the UINavigationBar look terrible, in my opinion, with large rounded rectangles around them. Can anything be done to revert these to look more like they used to without setting the UIDesignRequiresCompatibility flag in the plist file? I would prefer not to set this flag because I still want the transparent effects of iOS 26 in my app.
Old appearance (with compatibility flag set to true):

New iOS 26 appearance (with compatibility flag set to false):

if #available(iOS 26.0, *) {
navigationItem.leftBarButtonItem?.hidesSharedBackground = true
navigationItem.rightBarButtonItem?.hidesSharedBackground = true
}
In this way, the button’s background will be removed and it will appear in the old style, but the animation effect during navigation will remain.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With