共用方式為


UISearchBar.UISearchBarAppearance.SetScopeBarButtonBackgroundImage 方法

定義

設定要當做指定 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

參數

backgroundImage
UIImage
屬性

適用於