---
title: INSearchForPhotosIntentHandling
framework: intents
role: symbol
role_heading: Protocol
path: intents/insearchforphotosintenthandling
---

# INSearchForPhotosIntentHandling

The handler interface for searching the user’s photos.

## Declaration

```swift
protocol INSearchForPhotosIntentHandling : NSObjectProtocol
```

## Overview

Overview Use the methods of the INSearchForPhotosIntentHandling protocol to resolve, confirm, and handle requests to search the photos in your app. Adopt this protocol in an object of your Intents extension that’s capable of performing the search and determining the number of results. Siri doesn’t display the photos found during the search. After a successful search, Siri launches your app to display the photos. Siri delivers an INSearchForPhotosIntent object to your handler when the user asks to search their photos. The provided intent object contains the parameters to use when searching for the photos. Use the methods of this protocol to resolve the search parameters, to perform the search, and to return the number of photos that match the criteria.

## Topics

### Resolving the Intent Parameters

- [resolveDateCreated(for:with:)](intents/insearchforphotosintenthandling/resolvedatecreated(for:with:).md)
- [resolveLocationCreated(for:with:)](intents/insearchforphotosintenthandling/resolvelocationcreated(for:with:).md)
- [resolvePeopleInPhoto(for:with:)](intents/insearchforphotosintenthandling/resolvepeopleinphoto(for:with:).md)
- [resolveAlbumName(for:with:)](intents/insearchforphotosintenthandling/resolvealbumname(for:with:).md)
- [resolveSearchTerms(for:with:)](intents/insearchforphotosintenthandling/resolvesearchterms(for:with:).md)

### Confirming the Response

- [confirm(intent:completion:)](intents/insearchforphotosintenthandling/confirm(intent:completion:).md)

### Handling the Intent

- [handle(intent:completion:)](intents/insearchforphotosintenthandling/handle(intent:completion:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

### Inherited By

- [INPhotosDomainHandling](intents/inphotosdomainhandling.md)

## See Also

### Photo Search

- [INSearchForPhotosIntent](intents/insearchforphotosintent.md)
- [INSearchForPhotosIntentResponse](intents/insearchforphotosintentresponse.md)
