<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITabAccessory",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITabAccessory"
  },
  "title" : "UITabAccessory"
}
-->

# UITabAccessory

```
@MainActor class UITabAccessory
```

## Topics

### Creating a tab accessory

[`init(contentView:)`](/documentation/UIKit/UITabAccessory/init(contentView:))

Creates a new accessory with the specified content view.

### Accessing the content view

[`contentView`](/documentation/UIKit/UITabAccessory/contentView)

The content view of the accessory.

### Specifying the tab accessory environment

[`UITabAccessory.Environment`](/documentation/UIKit/UITabAccessory/Environment)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)