UISearchBar.UISearchBarAppearance.SetSearchFieldBackgroundImage Method

Definition

Sets the background image of the search field for the specified UIControlState.

[Foundation.Export("setSearchFieldBackgroundImage:forState:")]
public virtual void SetSearchFieldBackgroundImage (UIKit.UIImage backgroundImage, UIKit.UIControlState state);
abstract member SetSearchFieldBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit
override this.SetSearchFieldBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit

Parameters

backgroundImage
UIImage
Attributes

Applies to