Resolves the intended group for the task list.
- iOS 11.0+
- Mac Catalyst 13.0+
- watchOS 4.0+
The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.
The handler block to execute with the resolution. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:
The object containing the details of your proposed resolution. For successful resolutions, create a resolution object with the name of the group in which you intend to place the task list.
Implement this method to resolve the intended group for a task list. Use the intent object to obtain the group information, if any, specified by the user. Groups are a way for you to organize the task lists of your app. For example, the Reminders app automatically provides a group for each unique service, such as iCloud, that manages task lists and tasks.
If the intent does not contain a group name, choose a resolution that is most appropriate for your app. If your app does not support organizing notes into groups, you might return a result indicating that the group name is not required. If you are able to select a default group for the note, create a successful resolution that includes the name of the group you selected.