Edit

Bagikan melalui


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

Name Value Description
Default 0

The default search bar style.

Prominent 1

A translucent background and the search field is opaque.

Minimal 2

No background and the search field is translucent.

Applies to

See also