UISearchBar.UISearchBarAppearance.SetScopeBarButtonBackgroundImage Method

Definition

Sets the image to be used as the scope bar's background for the specified UIControlState.

[Foundation.Export("setScopeBarButtonBackgroundImage:forState:")]
public virtual void SetScopeBarButtonBackgroundImage (UIKit.UIImage backgroundImage, UIKit.UIControlState state);
abstract member SetScopeBarButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit
override this.SetScopeBarButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit

Parameters

backgroundImage
UIImage
Attributes

Applies to