Posts a notification to assistive applications.
SDKs
- iOS 3.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
static func post(notification: UIAccessibility.Notification, argument: Any?)
Parameters
notification
The notification to post (see “Notifications” in UIAccessibility for a list of notifications).
argument
The argument specified by the notification. Pass
nil
unless a notification specifies otherwise.
Discussion
Your application might need to post accessibility notifications if you have user interface components that change very frequently or that appear and disappear.