---
title: "post(notification:argument:)"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/uiaccessibility/post(notification:argument:)"
---

# post(notification:argument:)

Posts a notification to assistive apps.

## Declaration

```swift
@MainActor static func post(notification: UIAccessibility.Notification, argument: Any?)
```

## Parameters

- `notification`: The notification to post (see “Notifications” in doc://com.apple.documentation/documentation/UIKit/uiaccessibility-protocol for a list of notifications).
- `argument`: The argument specified by the notification. Pass nil unless a notification specifies otherwise.

## Discussion

Discussion Your application might need to post accessibility notifications if you have user interface components that change very frequently or that appear and disappear.

## See Also

### Notifications

- [Notification names](uikit/notification-names.md)
- [Notification dictionary keys](uikit/notification-dictionary-keys.md)
