Instance Property

barTintColor

The tint color to apply to the search bar background.

Declaration

@property(nonatomic, strong) UIColor *barTintColor;

Discussion

This color is made translucent by default unless you set the translucent property to NO.

See Also

Display Attributes

barStyle

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

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