iOS Swift - Lists and Data Display
What is the issue with this SwiftUI code snippet?
let scores = [100, 200, 300]
List {
ForEach(scores) { score in
Text("Score: \(score)")
}
}