init(shortcut:)
init(shortcut:)
init(shortcut:) Initializer of INRelevantShortcut Creates a relevant shortcut with the specified shortcut.
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.