iOS Swift - Lists and Data Display
What is wrong with this SwiftUI pull-to-refresh code?
List(data) { item in
Text(item.name)
}
.refreshable {
fetchData()
}List(data) { item in
Text(item.name)
}
.refreshable {
fetchData()
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions