stringValue
TypeScriptget stringValue(): Promise<(string) | null>Swift declaration@MainActor var stringValue: String? { get }struct · iOS 26.0+ · SDK 27.1
@MainActor struct Badgeget stringValue(): Promise<(string) | null>Swift declaration@MainActor var stringValue: String? { get }get backgroundColor(): Promise<(UIColor) | null>Swift declaration@MainActor var backgroundColor: UIColor?setBackgroundColor(value?: (UIColor) | null): Promise<void>Swift declaration@MainActor var backgroundColor: UIColor?get foregroundColor(): Promise<(UIColor) | null>Swift declaration@MainActor var foregroundColor: UIColor?setForegroundColor(value?: (UIColor) | null): Promise<void>Swift declaration@MainActor var foregroundColor: UIColor?get font(): Promise<(UIFont) | null>Swift declaration@MainActor var font: UIFont?setFont(value?: (UIFont) | null): Promise<void>Swift declaration@MainActor var font: UIFont?static count(count: number): Promise<UIBarButtonItem_Badge>Swift declaration@MainActor static func count(_ count: Int) -> UIBarButtonItem.Badgestatic string(string: string): Promise<UIBarButtonItem_Badge>Swift declaration@MainActor static func string(_ string: String) -> UIBarButtonItem.Badgestatic indicator(): Promise<UIBarButtonItem_Badge>Swift declaration@MainActor static func indicator() -> UIBarButtonItem.BadgeNo declarations were skipped in this snapshot.