title: How to position my button to the Bottom of the Screen? SwiftUI
body: <p>Below is my code to make a View in SwiftUI. I want to position my <strong>Welcome button</strong> to the bottom of the screen as shown below.</p>
  <pre><code>struct welcomeViewControllerView: View {
        var body: some View {
              Text(&quot;Welcome&quot;)
                .font(.system(size: 20, design: .rounded))
                .padding(.leading)
                .multilineTextAlignment(.center)
                .background(
  
              Image(&quot;splashBackground&quot;)
                .resizable()
                .edgesIgnoringSafeArea(.all)
                .frame(width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height))
          
              Button(action:{print(&quot;button pressed&quot;)})
                {
                  Text(&quot;Continue&quot;)
                  .font(.system(size: 20, design: .rounded))
                  .foregroundColor(.black)
                  .frame(width: 300, height: 50, alignment: .center)
                 .background((Image(&quot;buttonImage&quot;)).resizable().frame(width: 300, height: 50, alignment: .center))      
           }
        }
     }
  
  class welcomeViewController: UIHostingController&lt;welcomeViewControllerView&gt; {
          required init?(coder: NSCoder)
           {
               super.init(coder: coder,rootView: welcomeViewControllerView());
            }
      
            override func viewDidLoad()
           {
             super.viewDidLoad()
              view.backgroundColor = .white
           }
  }
  </code></pre>
  <p>How can I position my button to the bottom of the screen? I posted the screen below. I am fairly new to using SwiftUI.</p>
  <p><a href="https://i.stack.imgur.com/mVJWs.png" rel="noreferrer"><img src="https://i.stack.imgur.com/mVJWs.png" alt="enter image description here" /></a></p>