Editar

Compartir a través de


UIButton.UIButtonAppearance.SetBackgroundImage Method

Definition

Sets the background image for the specified state.

[Foundation.Export("setBackgroundImage:forState:")]
public virtual void SetBackgroundImage (UIKit.UIImage image, UIKit.UIControlState forState);
abstract member SetBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit
override this.SetBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit

Parameters

image
UIImage
forState
UIControlState
Attributes

Applies to