<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITabAccessory/Environment",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UITabAccessoryEnvironment"
  },
  "title" : "UITabAccessory.Environment"
}
-->

# UITabAccessory.Environment

```
enum Environment
```

## Topics

### Enumeration Cases

[`case inline`](/documentation/UIKit/UITabAccessory/Environment/inline)

The environment for when the accessory is laid out inline with
the collapsed bottom tab bar.

[`case none`](/documentation/UIKit/UITabAccessory/Environment/none)

The trait collection is from a view that is not in an active tab accessory environment.

[`case regular`](/documentation/UIKit/UITabAccessory/Environment/regular)

The environment for when the accessory is laid out either:

[`case unspecified`](/documentation/UIKit/UITabAccessory/Environment/unspecified)

Indicates the absence of any information about whether or not the trait collection is
from a view that is in a tab accessory.

### Initializers

[`init?(rawValue: Int)`](/documentation/UIKit/UITabAccessory/Environment/init(rawValue:))

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)