init(shortcut:)
Creates a relevant shortcut with the specified shortcut.
Declaration
init(shortcut: INShortcut)Parameters
- shortcut:
A shortcut that defines the action as either an intent or user activity.
Return Value
A newly initialized relevant shortcut object.