<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFUserNotificationGetResponseDictionary(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFUserNotificationGetResponseDictionary"
  },
  "title" : "CFUserNotificationGetResponseDictionary(_:)"
}
-->

# CFUserNotificationGetResponseDictionary(_:)

Returns the dictionary containing all the text field values from a dismissed notification dialog.

```
func CFUserNotificationGetResponseDictionary(_ userNotification: CFUserNotification!) -> CFDictionary!
```

## Parameters

`userNotification`

The user notification to use.

## Return Value

A dictionary holding the values of all the text fields in `userNotification` when it was dismissed. The values are in an array stored with the key [`kCFUserNotificationTextFieldValuesKey`](/documentation/CoreFoundation/kCFUserNotificationTextFieldValuesKey). Ownership follows the [The Get Rule](https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html#//apple_ref/doc/uid/20001148-SW1).

## Discussion

---

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)