Modifier

Partager via


UIButton.UIButtonAppearance.SetTitleColor(UIColor, UIControlState) Method

Definition

Sets the color for the title in the specified state.

[Foundation.Export("setTitleColor:forState:")]
public virtual void SetTitleColor (UIKit.UIColor color, UIKit.UIControlState forState);
abstract member SetTitleColor : UIKit.UIColor * UIKit.UIControlState -> unit
override this.SetTitleColor : UIKit.UIColor * UIKit.UIControlState -> unit

Parameters

color
UIColor
forState
UIControlState
Attributes

Applies to