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

Display Attributes

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