UITabBarItem.SetBadgeTextAttributes Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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