Type Property

pageScrolled

Posted by an application when a scroll action has completed and the accessibilityScroll(_:) method has been called.

Declaration

static var pageScrolled: UIAccessibility.Notification

Discussion

This notification includes a parameter, which is an NSString object that contains a description of the new scroll position. An assistive technology outputs the description string contained 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 application might provide a string such as “Tab 3 of 5,” or an application that displays information in pages might provide a string such as “Page 19 of 27.”

When an assistive technology repeatedly receives the same scroll position string, it indicates to users that a border or boundary has been reached.

Post this notification using the post(notification:argument:) function.

See Also

UI Changes

static var screenChanged: UIAccessibility.Notification

Posted by an application when a new view appears that makes up a major portion of the screen.

static var layoutChanged: UIAccessibility.Notification

Posted by an application when the layout of a screen changes, such as when an element appears or disappears.

static let switchControlStatusDidChangeNotification: NSNotification.Name

Posted by UIKit when the system’s Switch Control setting has changed.

static let elementFocusedNotification: NSNotification.Name

Posted by UIKit when an assistive technology focuses on an element.

static let reduceTransparencyStatusDidChangeNotification: NSNotification.Name

Posted by UIKit when the system’s Reduce Transparency system setting has changed.