編輯

共用方式為


UIButton.UIButtonAppearance.ImageForState(UIControlState) Method

Definition

The UIImage used for the specified state.

[Foundation.Export("imageForState:")]
public virtual UIKit.UIImage ImageForState (UIKit.UIControlState state);
abstract member ImageForState : UIKit.UIControlState -> UIKit.UIImage
override this.ImageForState : UIKit.UIControlState -> UIKit.UIImage

Parameters

Returns

Attributes

Applies to