編輯

共用方式為


UIBarButtonItem.UIBarButtonItemAppearance.SetBackButtonBackgroundImage Method

Definition

Specifies the UIImage to be used as a background for the specified UIControlState and UIBarMetrics.

[Foundation.Export("setBackButtonBackgroundImage:forState:barMetrics:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetBackButtonBackgroundImage (UIKit.UIImage backgroundImage, UIKit.UIControlState forState, UIKit.UIBarMetrics barMetrics);
abstract member SetBackButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState * UIKit.UIBarMetrics -> unit
override this.SetBackButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState * UIKit.UIBarMetrics -> unit

Parameters

backgroundImage
UIImage
forState
UIControlState
barMetrics
UIBarMetrics
Attributes

Applies to