共用方式為


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

傳回

屬性

適用於