Share via


UISearchBar.UISearchBarAppearance.GetSearchFieldBackgroundImage Method

Definition

The image used as abackground of the search field for the specified state.

[Foundation.Export("searchFieldBackgroundImageForState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIImage GetSearchFieldBackgroundImage(UIKit.UIControlState state);
[<Foundation.Export("searchFieldBackgroundImageForState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSearchFieldBackgroundImage : UIKit.UIControlState -> UIKit.UIImage
override this.GetSearchFieldBackgroundImage : UIKit.UIControlState -> UIKit.UIImage

Parameters

Returns

Attributes

Applies to