---
title: requiredUserInfoKeys
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsuseractivity/requireduserinfokeys
---

# requiredUserInfoKeys

A set of keys that represent the minimal information about the activity that should be stored for later restoration.

## Declaration

```swift
var requiredUserInfoKeys: Set<String>? { get set }
```

## Mentioned in

Implementing Handoff in Your App

## Discussion

Discussion The keys come from the userInfo property.

## See Also

### Specifying activity-related data

- [userInfo](foundation/nsuseractivity/userinfo.md)
- [addUserInfoEntries(from:)](foundation/nsuseractivity/adduserinfoentries(from:).md)
