---
title: userInfo
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsusernotification/userinfo
---

# userInfo

Application-specific user info that can be attached to the notification.

## Declaration

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

## Discussion

Discussion All items must be property list types or an exception is thrown. The userInfo content must be of reasonable serialized size (less than 1KB) or an exception is thrown.
