Edit

Share via


UISearchBar.UISearchBarAppearance.SetImageforSearchBarIcon Method

Definition

Sets the image to be used for the specified UISearchBarIcon type and UIControlState.

[Foundation.Export("setImage:forSearchBarIcon:state:")]
public virtual void SetImageforSearchBarIcon (UIKit.UIImage iconImage, UIKit.UISearchBarIcon icon, UIKit.UIControlState state);
abstract member SetImageforSearchBarIcon : UIKit.UIImage * UIKit.UISearchBarIcon * UIKit.UIControlState -> unit
override this.SetImageforSearchBarIcon : UIKit.UIImage * UIKit.UISearchBarIcon * UIKit.UIControlState -> unit

Parameters

iconImage
UIImage
Attributes

Applies to