Partager via


UITabBarItem.SetBadgeTextAttributes Méthode

Définition

Configure le badge de sorte que lorsqu’il se trouve dans le donné state, il ait le fourni 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

Paramètres

textAttributes
UIStringAttributes

UIStringAttributes souhaité.

state
UIControlState

UIControlState auquel doit s’appliquertextAttributes.

Attributs

S’applique à