Post

Replies

Boosts

Views

Activity

How to announce list updates in SwiftUI?
Is there a SwiftUI equivalent of UIKit's UIAccessibilityPostNotification with .announcement? I have a SwiftUI screen with a TextField acting as a search input, and a List of matching results for the current text field content below it. The process of obtaining matching results for the term entered in the text field is asynchronous (goes over a network). How can I alert VoiceOver users when the list updates? I don't really want to programmatically shift their focus, I'd normally post a suitable accessibility notification in UIKit for this.
1
0
480
Jan ’23