Share via


UISearchBar.GetImageForSearchBarIcon(UISearchBarIcon, UIControlState) Method

Definition

The image for the specified search bar icon type and control state.

[Foundation.Export("imageForSearchBarIcon:state:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIImage GetImageForSearchBarIcon(UIKit.UISearchBarIcon icon, UIKit.UIControlState state);
[<Foundation.Export("imageForSearchBarIcon:state:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetImageForSearchBarIcon : UIKit.UISearchBarIcon * UIKit.UIControlState -> UIKit.UIImage
override this.GetImageForSearchBarIcon : UIKit.UISearchBarIcon * UIKit.UIControlState -> UIKit.UIImage

Parameters

Returns

Attributes

Applies to