init(_:)
Category: Initializer
Platforms: iOS 17.0+, iPadOS 17.0+, Mac Catalyst 17.0+, macOS 14.0+, tvOS 17.0+, visionOS 1.0+, watchOS 10.0+
Overview
Creates a page scroll notification with an attributed string value.
Declaration
init(_ announcement: AttributedString)
Details
See Also
- Creating a page scroll notification
- init(String)
-
init(NSAttributedString)
-
Accessibility
- AccessibilityNotification
- AccessibilityNotification
- AccessibilityNotification.PageScrolled
-
init(_:)
-
AccessibilityNotification
Topics (Grouped)
Creating a page scroll notification
- initString) — (; Creates a page scroll notification with a string.
- initNSAttributedString) — (; Creates a page scroll notification with an attributed string object.
Code Examples
init(_ announcement: AttributedString)