Freigeben über


UISearchBar.UISearchBarAppearance.SetSearchFieldBackgroundImage Methode

Definition

Legt das Hintergrundbild des Suchfelds für das angegebene UIControlState fest.

[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

Parameter

backgroundImage
UIImage
Attribute

Gilt für: