---
title: "init(voiceShortcut:)"
framework: IntentsUI
role: symbol
role_heading: Initializer
platforms: [iOS 12.0+, iPadOS 12.0+, Mac Catalyst 13.1+, macOS 12.0+, visionOS 1.0+]
path: "intentsui/inuieditvoiceshortcutviewcontroller/init(voiceshortcut:)"
---

# init(voiceShortcut:)

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

## Declaration

```swift
init(voiceShortcut: INVoiceShortcut)
```

## Parameters

- `voiceShortcut`: The shortcut to edit or remove.

## Return Value

Return Value A newly initialized view controller.
