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
UISearchBarStyle
Attributes

Fields

Default 0

The default search bar style.

Minimal 2

No background and the search field is translucent.

Prominent 1

A translucent background and the search field is opaque.

Applies to

See also