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

Applies to