AccessibilityNotification
Category: Enumeration
Platforms: iOS 17.0+, iPadOS 17.0+, Mac Catalyst 17.0+, macOS 14.0+, tvOS 17.0+, visionOS 1.0+, watchOS 10.0+
Overview
Types of accessibility notifications that an app can post.
Declaration
enum AccessibilityNotification
Details
Topics
- Notifications
- struct Announcement
- struct LayoutChanged
- struct ScreenChanged
-
struct PageScrolled
-
Accessibility
- AccessibilityNotification
Accessibility Notification
Overview
Accessibility notifications provide a unified, multiplatform way for your app to convey information to someone using an assistive app. Your app can post these types of notifications:
- Announcement to convey an announcement to an assistive app
- Layout change to indicate when the layout of a screen changes
- Screen change to indicate when a new view appears that occupies a major portion of the screen
- Page scroll to indicate when a scroll action completes
For announcement notifications, you can set a priority to specify the announcement’s importance relative to other announcements that are in the queue for an assistive app to speak. For more information, see AccessibilityNotification.Announcement .
Topics (Grouped)
Notifications
- Announcement — struct; A notification that an app posts when it needs to convey an announcement to an assistive app.
- LayoutChanged — struct; A notification that an app posts when the layout of a screen changes.
- ScreenChanged — struct; A notification that an app posts when a new view appears that occupies a major portion of the screen.
- PageScrolled — struct; A notification that an app posts when a scroll action completes.
Code Examples
enum AccessibilityNotification
Source: https://developer.apple.com/documentation/accessibility/accessibilitynotification