---
title: "custom(acceptLabel:acceptAlternatives:denyLabel:denyAlternatives:destructive:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/confirmationactionname/custom(acceptlabel:acceptalternatives:denylabel:denyalternatives:destructive:)"
---

# custom(acceptLabel:acceptAlternatives:denyLabel:denyAlternatives:destructive:)

## Declaration

```swift
static func custom(acceptLabel: LocalizedStringResource, acceptAlternatives: [LocalizedStringResource], denyLabel: LocalizedStringResource, denyAlternatives: [LocalizedStringResource], destructive: Bool = false) -> ConfirmationActionName
```
