UIBarButtonItem.GetBackButtonBackgroundImage Method

Definition

Back button background image for a given control state. Only used for a UINavigationBar back button.

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

Parameters

forState
UIControlState
barMetrics
UIBarMetrics

Returns

The back button background image.

Attributes

Remarks

This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.

Applies to