---
title: whenValues
framework: uikit
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+]
path: uikit/uiphotosearchsuggestion/whenvalues
---

# whenValues

Time periods mentioned in the text that can be used to filter photos.

## Declaration

```swift
var whenValues: [String] { get }
```

## Discussion

Discussion For example, if the user types “photos from last summer,” this array might contain @[@"last summer"].
