Resolves the title of 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 title text that you intend to use for the task list.
Implement this method to resolve the title for a task list. Use the intent object to obtain the title, if any, suggested by the user. The title represents the name of the task list.
If the intent does not contain title information, choose a resolution that is most appropriate for your app. If you can provide a default title, return a result of success with the default title string. If you do not require a title for your task lists, you can return a result of not required.