iOS Swift - SwiftUI Layout
What will be the visible result of this SwiftUI code?
ScrollView(.horizontal) {
HStack {
ForEach(1...3, id: \ .self) { i in
Text("Item \(i)")
.frame(width: 100, height: 100)
.background(Color.blue)
.foregroundColor(.white)
.padding(5)
}
}
}