<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSUserActivity/userInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSUserActivity(py)userInfo"
  },
  "title" : "userInfo"
}
-->

# userInfo

A dictionary containing app-specific state information needed to continue an activity on another device.

```
var userInfo: [AnyHashable : Any]? { get set }
```

## Discussion

Each key and value must be of the following types: [`NSArray`](/documentation/Foundation/NSArray), [`NSData`](/documentation/Foundation/NSData), [`NSDate`](/documentation/Foundation/NSDate), [`NSDictionary`](/documentation/Foundation/NSDictionary), [`NSNull`](/documentation/Foundation/NSNull), [`NSNumber`](/documentation/Foundation/NSNumber), [`NSSet`](/documentation/Foundation/NSSet), [`NSString`](/documentation/Foundation/NSString), or [`NSURL`](/documentation/Foundation/NSURL). The system may translate file scheme URLs that refer to iCloud documents to valid file URLs on a continuing device.

---

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)