<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTouchBarItem/visibilityPriority",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTouchBarItem(py)visibilityPriority"
  },
  "title" : "visibilityPriority"
}
-->

# visibilityPriority

Determines which items are shown in a bar when space is limited.

```
var visibilityPriority: NSTouchBarItem.Priority { get set }
```

## Discussion

The bar hides items of lower priority when there is not enough space to show all items. Use this property to specify the relative priority of the items in your bar.

---

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)