<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 12.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/IntentsUI/INUIEditVoiceShortcutViewController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "IntentsUI"
    ],
    "preciseIdentifier" : "c:objc(cs)INUIEditVoiceShortcutViewController"
  },
  "title" : "INUIEditVoiceShortcutViewController"
}
-->

# INUIEditVoiceShortcutViewController

A view controller that lets the user edit or remove an existing shortcut.

```
class INUIEditVoiceShortcutViewController
```

## Overview

To let the user edit or remove a shortcut, create an instance of [`INUIEditVoiceShortcutViewController`](/documentation/IntentsUI/INUIEditVoiceShortcutViewController) with the [`INVoiceShortcut`](/documentation/Intents/INVoiceShortcut). Then present the view controller to the user. To receive notifications of changes made to the shortcut, set the controller’s [`delegate`](/documentation/IntentsUI/INUIEditVoiceShortcutViewController/delegate) to an object that conforms to the [`INUIEditVoiceShortcutViewControllerDelegate`](/documentation/IntentsUI/INUIEditVoiceShortcutViewControllerDelegate) protocol.

## Topics

### Creating a Shortcut Editor

[`init(voiceShortcut: INVoiceShortcut)`](/documentation/IntentsUI/INUIEditVoiceShortcutViewController/init(voiceShortcut:))

Creates a view controller with the shortcut to edit or remove.

### Handling View Controller Events

[`var delegate: (any INUIEditVoiceShortcutViewControllerDelegate)?`](/documentation/IntentsUI/INUIEditVoiceShortcutViewController/delegate)

The object that retrieves notifications from the view controller.

[`protocol INUIEditVoiceShortcutViewControllerDelegate`](/documentation/IntentsUI/INUIEditVoiceShortcutViewControllerDelegate)

The protocol an object implements to receive notifications from the view controller that edits or removes a shortcut in Siri.

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`UIStateRestoring`](/documentation/UIKit/UIStateRestoring)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`NSEditor`](/documentation/AppKit/NSEditor)

[`NSTouchBarProvider`](/documentation/AppKit/NSTouchBarProvider)

[`Hashable`](/documentation/Swift/Hashable)

[`UIContentContainer`](/documentation/UIKit/UIContentContainer)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`NSSeguePerforming`](/documentation/AppKit/NSSeguePerforming)

[`NSExtensionRequestHandling`](/documentation/Foundation/NSExtensionRequestHandling)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`NSUserInterfaceItemIdentification`](/documentation/AppKit/NSUserInterfaceItemIdentification)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`Sendable`](/documentation/Swift/Sendable)

[`NSStandardKeyBindingResponding`](/documentation/AppKit/NSStandardKeyBindingResponding)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSUserActivityRestoring`](/documentation/AppKit/NSUserActivityRestoring)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

### Inherits From

[`UIViewController`](/documentation/UIKit/UIViewController)

[`NSViewController`](/documentation/AppKit/NSViewController)

---

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)