Instance Method

initWithShortcut:

Initializes a relevant shortcut with the specified shortcut.

Declaration

- (instancetype)initWithShortcut:(INShortcut *)shortcut;

Parameters

shortcut

A shortcut that defines the action as either an intent or user activity.

Return Value

A newly initialized relevant shortcut object.