post(notification:argument:)
Posts a notification to assistive apps.
Declaration
@MainActor static func post(notification: UIAccessibility.Notification, argument: Any?)Parameters
- notification:
The notification to post (see “Notifications” in Uiaccessibility Protocol for a list of notifications).
- argument:
The argument specified by the notification. Pass
nilunless 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.