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

# CFUserNotificationUpdate(_:_:_:_:)

Updates a displayed user notification dialog with new user interface information.

```
func CFUserNotificationUpdate(_ userNotification: CFUserNotification!, _ timeout: CFTimeInterval, _ flags: CFOptionFlags, _ dictionary: CFDictionary!) -> Int32
```

## Parameters

`userNotification`

The user notification to update.

`timeout`

The new timeout value for the dialog.

`flags`

A set of flags describing the type of notification to display. See [`CFUserNotificationCreate(_:_:_:_:_:)`](/documentation/CoreFoundation/CFUserNotificationCreate(_:_:_:_:_:)) for details.

`dictionary`

A description of the elements to display in the notification dialog. The possible keys are listed in [Dialog Description Keys](/documentation/CoreFoundation/dialog-description-keys).

## Return Value

`0` if the cancel was successful; a non-`0` value otherwise.

## 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)