Instance Method

present(_:for:)

Tells the delegate to present the Edit Shortcut view controller.

Required.

Declaration

func present(_ editVoiceShortcutViewController: INUIEditVoiceShortcutViewController, for addVoiceShortcutButton: INUIAddVoiceShortcutButton)

Parameters

editVoiceShortcutViewController

The view controller to present.

addVoiceShortcutButton

The Siri Shortcut button calling this method.

See Also

Presenting Shortcut Editors

func present(INUIAddVoiceShortcutViewController, for: INUIAddVoiceShortcutButton)

Tells the delegate to present the Add Shortcut view controller.

Required.