confirmationRequired(with:forReason:)
Creates an object whose resolution requires the user to confirm the reason for creating a new task list before proceeding.
Declaration
class func confirmationRequired(with taskListToConfirm: INTaskList?, forReason reason: INAddTasksTargetTaskListConfirmationReason) -> SelfParameters
- taskListToConfirm:
The task list to confirm.
- reason:
The reason for confirming the task list.
Return Value
A new INAddTasksTargetTaskListResolutionResult object.
Discussion
Use this method when you can’t resolve the parameter to a similar but not equal temporal event type than the one specified in the intent. Don’t use this method to resolve task list types your app doesn’t support.