Instance Method

initWithStyle:

Initializes an Add to Siri button with the specified style.

Declaration

- (instancetype)initWithStyle:(INUIAddVoiceShortcutButtonStyle)style;

Parameters

style

The style of the button.

Return Value

A button initialized with the specified style.

See Also

Creating a Shortcut Button

INUIAddVoiceShortcutButtonStyle

The styles for the Add to Siri button.