Share via


UITabBarItem.GetBadgeTextAttributes(UIControlState) 方法

定义

UIStringAttributes获取锁屏提醒将具有指定 state的 。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public UIKit.UIStringAttributes GetBadgeTextAttributes (UIKit.UIControlState state);
member this.GetBadgeTextAttributes : UIKit.UIControlState -> UIKit.UIStringAttributes

参数

state
UIControlState

要查询的 UIControlState

返回

属性

适用于