searchBarStyle
A search bar style that specifies the search bar’s appearance.
Declaration
var searchBarStyle: UISearchBar.Style { get set }Discussion
This property can be used together with barStyle. The style UISearchBar.Style.minimal provides no default background color or image but will display one if customized as such.
Custom background and search field images take precedence over this property.
See UISearchBar.Style for possible values. The default value is UISearchBar.Style.default.