Skip to content

AccessibilityNotification.ScreenChanged

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 new view appears that occupies a major portion of the screen.

Declaration

struct ScreenChanged

Details

Topics

  • Creating a screen change notification
  • init(Any?)

See Also

  • Notifications
  • struct Announcement
  • struct LayoutChanged
  • struct PageScrolled

  • Accessibility

  • AccessibilityNotification
  • AccessibilityNotification.ScreenChanged

Accessibility Notification .Screen Changed

Overview

Optionally, include a parameter that contains the accessibility element for VoiceOver to move to after processing the notification.

Topics (Grouped)

Creating a screen change notification

  • initAny?) — (; Creates a screen change notification.

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.
  • PageScrolled — struct; A notification that an app posts when a scroll action completes.

Code Examples

struct ScreenChanged

Source: https://developer.apple.com/documentation/accessibility/accessibilitynotification/screenchanged