Instance Method

editVoiceShortcutViewController:didDeleteVoiceShortcutWithIdentifier:

Tells the delegate the user deleted the shortcut.

Required.

Declaration

- (void)editVoiceShortcutViewController:(INUIEditVoiceShortcutViewController *)controller didDeleteVoiceShortcutWithIdentifier:(NSUUID *)deletedVoiceShortcutIdentifier;

Parameters

controller

The view controller calling this method.

deletedVoiceShortcutIdentifier

The identifier of the shortcut that the user deleted.

Discussion

After the user deletes a shortcut, the shortcut is no longer available to Siri. Your app should reflect this change by displaying an INUIAddVoiceShortcutButton in the view for the action. The button lets the user know the action doesn't have a shortcut, and provides the option to add one.

See Also

Handling Shortcut Changes

- editVoiceShortcutViewController:didUpdateVoiceShortcut:error:

Tells the delegate the user updated the shortcut.

Required.