Instance Method

present(_:for:)

Tells the delegate to present the Add Shortcut view controller.

Required.

Declaration

func present(_ addVoiceShortcutViewController: INUIAddVoiceShortcutViewController, for addVoiceShortcutButton: INUIAddVoiceShortcutButton)

Parameters

addVoiceShortcutViewController

The view controller to present.

addVoiceShortcutButton

The Siri Shortcut button calling this method.

See Also

Presenting Shortcut Editors

func present(INUIEditVoiceShortcutViewController, for: INUIAddVoiceShortcutButton)

Tells the delegate to present the Edit Shortcut view controller.

Required.