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 object.
Declaration
init(_ announcement: NSAttributedString)
Details
See Also
- Creating a page scroll notification
- init(String)
-
init(AttributedString)
-
Accessibility
- AccessibilityNotification
- AccessibilityNotification
- AccessibilityNotification.PageScrolled
-
init(_:)
-
AccessibilityNotification
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.
Code Examples
init(_ announcement: NSAttributedString)