Enumeration

UISearchBarStyle

Specifies whether the search bar has a background.

Declaration

typedef enum UISearchBarStyle : NSUInteger {
    ...
} UISearchBarStyle;

Topics

Constants

UISearchBarStyleDefault

The search bar has the default style.

UISearchBarStyleProminent

The search bar has a translucent background, and the search field is opaque.

UISearchBarStyleMinimal

The search bar has no background, and the search field is translucent.

See Also

Configuring the Search Bar

barTintColor

The tint color to apply to the search bar background.

searchBarStyle

A search bar style that specifies the search bar’s appearance.

tintColor

The tint color to apply to key elements in the search bar.

translucent

A Boolean value that indicates whether the search bar is translucent (YES) or not (NO).

barStyle

A bar style that specifies the search bar’s appearance.

UIBarStyle

Defines the stylistic appearance of different types of views.