UISearchBarStyle UISearchBarStyle Enum

Definition

An enumeration whose values specify the prominence of the UISearchBar.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UISearchBarStyle
type UISearchBarStyle = 
Inheritance
UISearchBarStyleUISearchBarStyle
Attributes

Fields

Default Default 0

The default search bar style.

Minimal Minimal 2

No background and the search field is translucent.

Prominent Prominent 1

A translucent background and the search field is opaque.

Applies to

See also