Contents

pageScrolled

A notification that an app posts when a scroll action completes.

Declaration

nonisolated static let pageScrolled: UIAccessibility.Notification

Discussion

This notification includes a parameter that is an NSString object that contains a description of the new scroll position. An assistive app outputs the description string in the parameter.

Use this notification to provide custom information about the contents of the screen after a user performs a VoiceOver scroll gesture. For example, a tab-based app might provide a string like Tab 3 of 5, or an app that displays information in pages might provide a string like Page 19 of 27.

When an assistive app repeatedly receives the same scroll position string, it indicates to users that scrolling can’t continue due to a border or boundary.

Post this notification after the accessibilityScroll(_:) method using the post(notification:argument:) function.

See Also

UI changes