Bearbeiten

Freigeben über


UIButton.UIButtonAppearance.SetImage(UIImage, UIControlState) Method

Definition

Sets the UIImage for the specified state.

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

Parameters

image
UIImage
forState
UIControlState
Attributes

Applies to