---
title: "editVoiceShortcutViewControllerDidCancel(_:)"
framework: IntentsUI
role: symbol
role_heading: Instance Method
platforms: [iOS 12.0+, iPadOS 12.0+, Mac Catalyst 13.1+, macOS 12.0+, visionOS 1.0+]
path: "intentsui/inuieditvoiceshortcutviewcontrollerdelegate/editvoiceshortcutviewcontrollerdidcancel(_:)"
---

# editVoiceShortcutViewControllerDidCancel(_:)

Tells the delegate the user canceled the edit-or-remove-shortcut process.

## Declaration

```swift
func editVoiceShortcutViewControllerDidCancel(_ controller: INUIEditVoiceShortcutViewController)
```

## Parameters

- `controller`: The view controller calling this method.
