次の方法で共有


UITabBarItem.SetBadgeTextAttributes メソッド

定義

バッジが指定された 内にある場合は、指定statetextAttributesされた が含まれるようにバッジを構成します。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public void SetBadgeTextAttributes (UIKit.UIStringAttributes textAttributes, UIKit.UIControlState state);
member this.SetBadgeTextAttributes : UIKit.UIStringAttributes * UIKit.UIControlState -> unit

パラメーター

textAttributes
UIStringAttributes

必要な UIStringAttributes

state
UIControlState

UIControlStateを適用するtextAttributes必要がある 。

属性

適用対象