UIKit · IOS API REFERENCE
UITabBarItem
class · iOS 2.0+ · SDK 27.1
@MainActor class UITabBarItem
Members (19)
method · iOS 10.0+badgeTextAttributes
TypeScriptbadgeTextAttributes(state: UIControl_State): Promise<(NativeMap<_Foundation_NSAttributedString_Key, unknown>) | null>
Swift declarationfunc badgeTextAttributes(for state: UIControl.State) -> [NSAttributedString.Key : Any]?
init · iOS 2.0+init
TypeScriptstatic init(): Promise<UITabBarItem>
Swift declarationinit()
init · iOS 2.0+init
TypeScriptstatic initCoder(coder: _Foundation_NSCoder): Promise<(UITabBarItem) | null>
Swift declarationinit?(coder: NSCoder)
init · iOS 2.0+init
TypeScriptstatic initTabBarSystemItemTag(systemItem: UITabBarItem_SystemItem, tag: number): Promise<UITabBarItem>
Swift declarationconvenience init(tabBarSystemItem systemItem: UITabBarItem.SystemItem, tag: Int)
init · iOS 7.0+init
TypeScriptstatic initTitleImageSelectedImage(title?: (string) | null, image?: (UIImage) | null, selectedImage?: (UIImage) | null): Promise<UITabBarItem>
Swift declarationconvenience init(title: String?, image: UIImage?, selectedImage: UIImage?)
init · iOS 2.0+init
TypeScriptstatic initTitleImageTag(title: (string) | null, image: (UIImage) | null, tag: number): Promise<UITabBarItem>
Swift declarationconvenience init(title: String?, image: UIImage?, tag: Int)
method · iOS 10.0+setBadgeTextAttributes
TypeScriptsetBadgeTextAttributes(textAttributes: (NativeMap<_Foundation_NSAttributedString_Key, unknown>) | null, state: UIControl_State): Promise<void>
Swift declarationfunc setBadgeTextAttributes(_ textAttributes: [NSAttributedString.Key : Any]?, for state: UIControl.State)
get · iOS 10.0+badgeColor
TypeScriptget badgeColor(): Promise<(UIColor) | null>
Swift declaration@NSCopying var badgeColor: UIColor? { get set }
set · iOS 10.0+badgeColor
TypeScriptsetBadgeColor(value?: (UIColor) | null): Promise<void>
Swift declaration@NSCopying var badgeColor: UIColor? { get set }
get · iOS 2.0+badgeValue
TypeScriptget badgeValue(): Promise<(string) | null>
Swift declarationvar badgeValue: String? { get set }
set · iOS 2.0+badgeValue
TypeScriptsetBadgeValue(value?: (string) | null): Promise<void>
Swift declarationvar badgeValue: String? { get set }
get · iOS 15.0+scrollEdgeAppearance
TypeScriptget scrollEdgeAppearance(): Promise<(UITabBarAppearance) | null>
Swift declaration@NSCopying var scrollEdgeAppearance: UITabBarAppearance? { get set }
set · iOS 15.0+scrollEdgeAppearance
TypeScriptsetScrollEdgeAppearance(value?: (UITabBarAppearance) | null): Promise<void>
Swift declaration@NSCopying var scrollEdgeAppearance: UITabBarAppearance? { get set }
get · iOS 7.0+selectedImage
TypeScriptget selectedImage(): Promise<(UIImage) | null>
Swift declarationvar selectedImage: UIImage? { get set }
set · iOS 7.0+selectedImage
TypeScriptsetSelectedImage(value?: (UIImage) | null): Promise<void>
Swift declarationvar selectedImage: UIImage? { get set }
get · iOS 13.0+standardAppearance
TypeScriptget standardAppearance(): Promise<(UITabBarAppearance) | null>
Swift declaration@NSCopying var standardAppearance: UITabBarAppearance? { get set }
set · iOS 13.0+standardAppearance
TypeScriptsetStandardAppearance(value?: (UITabBarAppearance) | null): Promise<void>
Swift declaration@NSCopying var standardAppearance: UITabBarAppearance? { get set }
get · iOS 5.0+titlePositionAdjustment
TypeScriptget titlePositionAdjustment(): Promise<UIOffset>
Swift declarationvar titlePositionAdjustment: UIOffset { get set }
set · iOS 5.0+titlePositionAdjustment
TypeScriptsetTitlePositionAdjustment(value: UIOffset): Promise<void>
Swift declarationvar titlePositionAdjustment: UIOffset { get set }
Skipped declarations
No declarations were skipped in this snapshot.
All UIKit types →