Defines the stylistic appearance of different types of views.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
typedef enum UIBarStyle : NSInteger {
...
} UIBarStyle;
Defines the stylistic appearance of different types of views.
SDKs
Framework
typedef enum UIBarStyle : NSInteger {
...
} UIBarStyle;
bar Tint Color
The tint color to apply to the search bar background.
search Bar Style
A search bar style that specifies the search bar’s appearance.
UISearch Bar Style
Specifies whether the search bar has a background.
tint Color
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
).
bar Style
A bar style that specifies the search bar’s appearance.