Resolves the task list to receive the new tasks.
- iOS 13.0+
- Mac Catalyst 13.0+
- watchOS 6.0+
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:
Details of your proposed resolution. For successful resolutions, create a resolution object with the
INTaskobject representing the task list that you intend to use.
Implement this method to resolve that task list that’s to recieve the new tasks. Use the intent object to obtain the task list, if any, suggested by the user. If the intent doesn’t specify a task list, choose a resolution that’s most appropriate for your app. If you can select a default task list, return a result of success with that task list. If you can’t select a default task list, you might ask the user to provide a value or choose from among a few likely candidates.