<!--
{
  "availability" : [
    "iPadOS: 10.0.0 - 15.0.0",
    "ios: 10.0.0 - 15.0.0",
    "maccatalyst: 13.1.0 - 15.0.0",
    "macos: -",
    "tvos: -",
    "watchos: 3.2.0 - 8.0.0",
    "xros: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSearchForPhotosIntentResponse/searchResultsCount-3i5mz",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INSearchForPhotosIntentResponse(py)searchResultsCount"
  },
  "title" : "searchResultsCount"
}
-->

# searchResultsCount

The number of photos that match the search parameters.

iOS, iPadOS, Mac Catalyst, tvOS, visionOS, watchOS:

```
@property (nonatomic, copy, readwrite, nullable) NSNumber * searchResultsCount;
```

macOS:

```
@property (atomic, copy, readwrite, nullable) NSNumber * searchResultsCount;
```

## Discussion

Use this property to specify the number of photos found during the search. Typically, you assign a value to this property only after handling the intent. During the confirmation phase, you can set the value of this property set to `0`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)