Edit

Share via


UITabBarItem.SetBadgeTextAttributes Method

Definition

Configures the badge so that when it is in the given state, it has the provided textAttributes.

[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

Parameters

textAttributes
UIStringAttributes

The desired UIStringAttributes.

state
UIControlState

The UIControlState to which the textAttributes should apply.

Attributes

Applies to