confirmationRequiredWithItemToConfirm:forReason:
Creates an object whose resolution indicates that your app requires confirmation of the specified value.
Declaration
+ (instancetype) confirmationRequiredWithItemToConfirm:(id) itemToConfirm forReason:(NSInteger) reason;Parameters
- itemToConfirm:
The specific item that requires confirmation.
- reason:
The reason why your app is not using the specified value. For a list of possible values, see
INIntentResolutionResultUnsupportedReason.
Return Value
A new INIntentResolutionResult object.
Discussion
Use this method to create a resolution result object when your app needs to confirm an intent parameter. Siri may use the returned reason to let the user know that the value isn’t supported.