An object for customizing the appearance of bar button items.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
Framework
- UIKit
Declaration
class UIBarButtonItemAppearance : NSObject
Overview
Use a UIBar
object to customize the appearance of a bar button item in each of its possible states. You can customize the appearance differently for different states. For example, you might apply different colors to the button's title in the normal
and highlighted
states.