Share via


UITabBarItem.SetBadgeTextAttributes Method

Definition

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

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public void SetBadgeTextAttributes(UIKit.UIStringAttributes textAttributes, UIKit.UIControlState state);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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