UISearchBar .minimal no background when compiled on Xcode 26

When compiled on Xcode 16.4.0:

When compiled on Xcode 26:

The code:

import SwiftUI

struct SearchBarController: UIViewRepresentable {
    
    @Binding var text: String
    var placeholderText: String
    
    class Coordinator: NSObject, UISearchBarDelegate {
        
        @Binding var text: String
        
        init(text: Binding<String>) {
            _text = text
        }
        
        func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
            text = searchText
        }
    }
    
    func makeUIView(context: Context) -> UISearchBar {
        
        let searchBar = UISearchBar(frame: .zero)
        searchBar.delegate = context.coordinator
        searchBar.placeholder = placeholderText
        searchBar.searchBarStyle = .minimal
        return searchBar
    }
    
    func updateUIView(_ uiView: UISearchBar, context: Context) {
        uiView.text = text
    }
    
    func makeCoordinator() -> SearchBarController.Coordinator {
        return Coordinator(text: $text)
    }
}

Standard components across the system now use the Liquid Glass design. See Adopting Liquid Glass to learn how the new material impacts your app.

This still doesn't really explain the change, since the documentation states "the search field is translucent" for UISearchBar.Style.minimal and not transparent.

Moreover, if I manually set UISearchBar.isTranslucent to true, it does not work either.

Hello. So what do we need to expect? All translucent UI elements are going to become transparent even though the documentation didn't change? Also note that in iOS 26.0 (23A5276f) search bar is still translucent (as expected), and only in iOS 26.0 (23A5297f) it became transparent. Can it be just a bug in the iOS 26.0 (23A5297f) version? In both cases application was compiled in Xcode 16.2

UISearchBar .minimal no background when compiled on Xcode 26
 
 
Q