AccessibilityNotification.PageScrolled
Category: Structure
Platforms: iOS 17.0+, iPadOS 17.0+, Mac Catalyst 17.0+, macOS 14.0+, tvOS 17.0+, visionOS 1.0+, watchOS 10.0+
Overview
A notification that an app posts when a scroll action completes.
Declaration
struct PageScrolled
Details
Topics
- Creating a page scroll notification
- init(String)
- init(AttributedString)
- init(NSAttributedString)
See Also
- Notifications
- struct Announcement
- struct LayoutChanged
-
struct ScreenChanged
-
Accessibility
- AccessibilityNotification
- AccessibilityNotification.PageScrolled
Accessibility Notification .Page Scrolled
Overview
Include an announcement value, such as String or AttributedString , for an assistive app to announce. When an assistive app repeatedly receives the same scroll position value, it indicates to the user that scrolling can’t continue due to a border or boundary.
Topics (Grouped)
Creating a page scroll notification
- initString) — (; Creates a page scroll notification with a string.
- initAttributedString) — (; Creates a page scroll notification with an attributed string value.
- initNSAttributedString) — (; Creates a page scroll notification with an attributed string object.
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.
Code Examples
struct PageScrolled
Source: https://developer.apple.com/documentation/accessibility/accessibilitynotification/pagescrolled