How to stick my button to the bottom of the view using SwiftUI?
You have to add a Spacer
view above the text.
struct ContentView : View {
var body: some View {
VStack {
Spacer() // ←- here
Text("Test")
}
}
}