SwiftUI Journey Part 3

Posted on May 6, 2022

Now, the frames are static. I need the frames to be resizable. Time to Google. So eventually, you need to set maxWidth and maxHeight inside the frame().

struct SignInView: View {
    var body: some View {
        VStack {
            Text("Welcome to hourz.")
        .frame(maxWidth: 900, maxHeight: 400)