announcementRequested
This notification posts when an app needs to make an announcement to the user. If VoiceOver is enabled, it’s presented via speech and/or braille. Otherwise, it does nothing.
Declaration
static let announcementRequested: NSAccessibility.NotificationDiscussion
This notification requires a userInfo dictionary with the key announcement and a localized string containing the announcement. To help an assistive app determine the importance of the announcement, add the appropriate priority to the userInfo dictionary.
If you need more control over how your announcements are pronounced, such as including punctuation or setting the spoken language, you can use NSAttributedString. For a list of available string attributes, see NSAttributedString.Key.