📱 SwiftUI
LazyVStack
James Wetzel
2022. 6. 10. 11:00
728x90
반응형
A view that arranges its children in a line that grows vertically, creating items only as needed.
ScrollView {
LazyVStack(alignment: .leading) {
ForEach(1...100, id: \.self) {
Text("Row \($0)")
}
}
}
728x90
반응형