---
title: "init(shortcut:)"
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/inuiaddvoiceshortcutviewcontroller/init(shortcut:)"
---

# init(shortcut:)

Creates a view controller with a shortcut the user can add to Siri.

## Declaration

```swift
init(shortcut: INShortcut)
```

## Parameters

- `shortcut`: The shortcut to add to Siri.

## Return Value

Return Value A newly initialized view controller.
