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

# addAccessoryController(_:)

Adds a custom controller to the Print panel to manage an accessory view.

```
func addAccessoryController(_ accessoryController: any NSViewController & NSPrintPanelAccessorizing)
```

## Parameters

`accessoryController`

The view controller that manages your custom accessory views.

## Discussion

You can invoke this method multiple times to add multiple accessory views to the receiver’s Print panel.

The title for the accessory view is obtained from the `title` method of the view controller object.

---

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)