Share via


UIButton.UIButtonAppearance.BackgroundImageForState(UIControlState) Method

Definition

The UIImage displayed in the background for the given UIControlState.

[Foundation.Export("backgroundImageForState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIImage BackgroundImageForState(UIKit.UIControlState state);
[<Foundation.Export("backgroundImageForState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member BackgroundImageForState : UIKit.UIControlState -> UIKit.UIImage
override this.BackgroundImageForState : UIKit.UIControlState -> UIKit.UIImage

Parameters

Returns

Attributes

Applies to