Partilhar via


UITabBarItem.SetBadgeTextAttributes Método

Definição

Configura o selo para que, quando ele estiver no fornecido state, ele tenha o fornecido 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

Parâmetros

textAttributes
UIStringAttributes

O UIStringAttributes desejado.

state
UIControlState

O UIControlState ao qual o textAttributes deve ser aplicado.

Atributos

Aplica-se a