Discussion 議論
For example, this is how a scroll action to trigger a refresh could be added to a view.
var body: some View {
ScrollView {
ContentView()
}
.accessibilityScrollAction { edge in
if edge == .top {
// Refresh content
}
}
}