UndoableIntent
An interface you use to register undoable actions in your app intent code.
Declaration
protocol UndoableIntent : SystemIntentMentioned in
Overview
Add support for this protocol if your app intent performs a task that someone might want to undo from your app’s interface. This protocol provides access to an instance of the UndoManager type suitable for use in your app intent’s code. You can use this undo manager from either your app or an app extension you use to run app intents.
For more information about adding undo support to your code, see the UndoManager type.