<!--
{
  "availability" : [
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSApplication/toggleTouchBarCustomizationPalette(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSApplication(im)toggleTouchBarCustomizationPalette:"
  },
  "title" : "toggleTouchBarCustomizationPalette(_:)"
}
-->

# toggleTouchBarCustomizationPalette(_:)

Show or hides the interface for customizing the Touch Bar.

```
@IBAction func toggleTouchBarCustomizationPalette(_ sender: Any?)
```

## Discussion

You can call this method yourself when you want to show or hide the Touch Bar customization interface.

---

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)