One Logo Pool Ball
UIKit · IOS API REFERENCE

UIBarButtonItemStateAppearance

class · iOS 13.0+ · SDK 27.1

@MainActor class UIBarButtonItemStateAppearance

Members (8)

get · iOS 13.0+

backgroundImage

TypeScript
get backgroundImage(): Promise<(UIImage) | null>
Swift declaration
var backgroundImage: UIImage? { get set }
set · iOS 13.0+

backgroundImage

TypeScript
setBackgroundImage(value?: (UIImage) | null): Promise<void>
Swift declaration
var backgroundImage: UIImage? { get set }
get · iOS 13.0+

backgroundImagePositionAdjustment

TypeScript
get backgroundImagePositionAdjustment(): Promise<UIOffset>
Swift declaration
var backgroundImagePositionAdjustment: UIOffset { get set }
set · iOS 13.0+

backgroundImagePositionAdjustment

TypeScript
setBackgroundImagePositionAdjustment(value: UIOffset): Promise<void>
Swift declaration
var backgroundImagePositionAdjustment: UIOffset { get set }
get · iOS 13.0+

titlePositionAdjustment

TypeScript
get titlePositionAdjustment(): Promise<UIOffset>
Swift declaration
var titlePositionAdjustment: UIOffset { get set }
set · iOS 13.0+

titlePositionAdjustment

TypeScript
setTitlePositionAdjustment(value: UIOffset): Promise<void>
Swift declaration
var titlePositionAdjustment: UIOffset { get set }
get · iOS 13.0+

titleTextAttributes

TypeScript
get titleTextAttributes(): Promise<NativeMap<_Foundation_NSAttributedString_Key, unknown>>
Swift declaration
var titleTextAttributes: [NSAttributedString.Key : Any] { get set }
set · iOS 13.0+

titleTextAttributes

TypeScript
setTitleTextAttributes(value: NativeMap<_Foundation_NSAttributedString_Key, unknown>): Promise<void>
Swift declaration
var titleTextAttributes: [NSAttributedString.Key : Any] { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIBarButtonItemStateAppearance.init()

inherited init: clang: 'init' is unavailable

All UIKit types →