UISearchBar.UISearchBarAppearance.SetSearchFieldBackgroundImage(UIImage, UIControlState) UISearchBar.UISearchBarAppearance.SetSearchFieldBackgroundImage(UIImage, UIControlState) 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 UIImage

Applies to