iOS 26 prominent button with glass effect results in button image barely visible
I have an iOS 26 app in which I have defined the app wide tintColor to be green:
UIView.appearance().tintColor = UIColor.systemGreen
I have a done button in my navigation bar whose style is .prominent:
let style: UIBarButtonItem.Style = if #available(iOS 26.0, *) { .prominent } else { .done }
navigationItem.rightBarButtonItem = UIBarButtonItem(image: UIImage(systemName: "checkmark"), style: style, target: self, action: #selector(done))
This is causing it to look like this:
As you can see, the checkmark is barely visible in the button resulting in poor UX.
What's the proper way of tinting the button and the image in iOS 26?
