Instance Property

barStyle

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

Declaration

@property(nonatomic) UIBarStyle barStyle;

Discussion

This property can be used together with searchBarStyle.

See UIBarStyle for possible values. The default value is UIBarStyleDefault.

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.

UISearchBarStyle

Specifies whether the search bar has a background.

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).

UIBarStyle

Defines the stylistic appearance of different types of views.