Freigeben über


UIButton.UIButtonAppearance.SetTitleColor(UIColor, UIControlState) Methode

Definition

Legt die Farbe für den Titel im angegebenen Zustand fest.

[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

Parameter

color
UIColor
forState
UIControlState
Attribute

Gilt für: