I put this code but the horizontal scrolling doesn't working.
struct HStackScrollView: View {
var body: some View {
ScrollView {
HStack(alignment: .top){
ForEach(0..<100) { number in
Text("Print value Row\(number)")
.frame(width: 200, height: 100)
.background(Color.blue)
}
}
}
}
}
Can help me?