---
title: userInfo
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uilocalnotification/userinfo
---

# userInfo

A dictionary for passing custom information to the notified app.

## Declaration

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

## Discussion

Discussion You may add arbitrary key-value pairs to this dictionary. However, the keys and values must be valid Property list; if any are not, an exception is raised.

## See Also

### Configuring other parts of the notification

- [applicationIconBadgeNumber](uikit/uilocalnotification/applicationiconbadgenumber.md)
- [soundName](uikit/uilocalnotification/soundname.md)
