---
title: UIBarButtonItemAppearance
framework: uikit
role: symbol
role_heading: Class
path: uikit/uibarbuttonitemappearance
---

# UIBarButtonItemAppearance

An object for customizing the appearance of bar button items.

## Declaration

```swift
@MainActor class UIBarButtonItemAppearance
```

## Overview

Overview Use a UIBarButtonItemAppearance 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.

## Topics

### Creating a bar button item appearance object

- [init(style:)](uikit/uibarbuttonitemappearance/init(style:).md)
- [init()](uikit/uibarbuttonitemappearance/init().md)
- [init(coder:)](uikit/uibarbuttonitemappearance/init(coder:).md)

### Copying a bar button item bar appearance object

- [copy()](uikit/uibarbuttonitemappearance/copy().md)

### Resetting the appearance properties

- [configureWithDefault(for:)](uikit/uibarbuttonitemappearance/configurewithdefault(for:).md)

### Configuring attributes for different button states

- [normal](uikit/uibarbuttonitemappearance/normal.md)
- [disabled](uikit/uibarbuttonitemappearance/disabled.md)
- [highlighted](uikit/uibarbuttonitemappearance/highlighted.md)
- [focused](uikit/uibarbuttonitemappearance/focused.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)

## See Also

### Shared appearance

- [UIBarAppearance](uikit/uibarappearance.md)
- [UIBarButtonItemStateAppearance](uikit/uibarbuttonitemstateappearance.md)
