How can I add a native UX for pull-to-refresh for a ScrollView?
Is support for this being added in iOS 16? Right now, the native UX only appears for List
.
For example, I want to support to be able to support .refreshable
on a ScrollView
like this:
var body: some View {
ScrollView {
LazyVStack {
Text("1")
Text("2")
Text("3")
}
}
.refreshable {
///
}
}