title: SwiftUI fullscreen image background
body: <p>I want to have a full screen image in the background. I have implemented this:</p>
  
  <pre><code>struct LoginView: View {
      var body: some View {
          VStack {
              Spacer();
              Text("Hallo");
              Text("Hallo2");
              Text("Hallo2");
              Text("Hallo2");
              Text("Hallo2");
              Text("Hallo2");
              Text("Hallo2");
              Spacer();
              }.background(Image("Background LaunchScreen")
                  .resizable()
                  .aspectRatio(UIImage(named: "Background LaunchScreen")!.size, contentMode: .fill)
                  .clipped())
              .edgesIgnoringSafeArea(.all)
      }
  }
  </code></pre>
  
  <p>When I remove the spacers, the image is no longer displayed in full screen mode.<br>
  Surely that can be solved differently?</p>
  
  <p>And if I turn the iPhone in the simulator to the side, I have left and right white stripes.<br>
  How can I change this?</p>