Instance Method


Resolves the taken dates for the photos.


- (void)resolveDateCreatedForSearchForPhotos:(INSearchForPhotosIntent *)intent withCompletion:(void (^)(INDateComponentsRangeResolutionResult *resolutionResult))completion;



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 block to execute with the resolution. You must execute this block at some point during your implementation of this method. This block has no return value and takes the following parameter:


The object containing the details of your proposed resolution. For successful resolutions, create a resolution with the date range that you are able to search.


Implement this method to resolve the taken dates for the phots. When resolving the set of dates, always strive toward a successful resolution, but feel free to ask for confirmation if there is a date range that you think yields the intended results. For example, if the user asks for photos from Paris taken in June, but your app only has Paris photos from July, you can ask the user to confirm the revised dates.

See Also

Resolving the Intent Parameters

- resolveAlbumNameForSearchForPhotos:withCompletion:

Resolves the name of the photo album containing the photos.

- resolveSearchTermsForSearchForPhotos:withCompletion:

Resolves any search terms provided by the user.