Instance Method


Resolves the taken dates for the photos.


optional func resolveDateCreated(for intent: INStartPhotoPlaybackIntent, with completion: @escaping (INDateComponentsRangeResolutionResult) -> Void)



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 dates for the photos. 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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software