UIBarItem.SetTitleTextAttributes(UITextAttributes, UIControlState) 方法

定义

指定 UIBarItem 标题的文本属性。

public void SetTitleTextAttributes(UIKit.UITextAttributes attributes, UIKit.UIControlState state);
member this.SetTitleTextAttributes : UIKit.UITextAttributes * UIKit.UIControlState -> unit

参数

attributes
UITextAttributes

指定的标题文本属性。

state
UIControlState

已指定 UIControlState

适用于