title: Cannot place SwiftUI view outside the SafeArea when embedded in UIHostingController
body: <p>I have a simple SwiftUI view that contains 3 text elements:</p>
  <pre><code>struct ImageDescriptionView: View {
      var title: String?
      var imageDescription: String?
      var copyright: String?
  
      var body: some View {
          VStack(alignment: .leading) {
          
              if let title = title {
                  Text(title)
                      .fontWeight(.bold)
                      .foregroundColor(.white)
                      .frame(maxWidth: .infinity, alignment: .leading)
              }
          
              if let imageDescription = imageDescription {
                  Text(imageDescription)
                      .foregroundColor(.white)
                      .fontWeight(.medium)
                      .frame(maxWidth: .infinity, alignment: .leading)
              }
          
              if let copyright = copyright {
                  Text(copyright)
                      .font(.body)
                      .foregroundColor(.white)
                      .frame(maxWidth: .infinity, alignment: .leading)
              }
          
          }
          .background(
              Color.blue
          )
      }
  }
  </code></pre>
  <p>The SwiftUI View is embedded within a <code>UIHostingController</code>:</p>
  <pre><code>class ViewController: UIViewController {
  
      private var hostingController = UIHostingController(rootView: ImageDescriptionView(title: &quot;25. November 2021&quot;, imageDescription: &quot;Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.&quot;, copyright: &quot;Bild © Unknown&quot;))
  
      override func viewDidLoad() {
          super.viewDidLoad()
          setUpHC()
      }
  
      private func setUpHC() {
          hostingController.view.backgroundColor = .red
      
          view.addSubview(hostingController.view)
          hostingController.view.translatesAutoresizingMaskIntoConstraints = false
          NSLayoutConstraint.activate([
              hostingController.view.leadingAnchor.constraint(equalTo: view.leadingAnchor),
              hostingController.view.trailingAnchor.constraint(equalTo: view.trailingAnchor),
              hostingController.view.bottomAnchor.constraint(equalTo: view.bottomAnchor)
          ])
          addChild(hostingController)
          hostingController.didMove(toParent: self)
      }
  
  }
  </code></pre>
  <h3>The result looks like this:</h3>
  <p><a href="https://i.stack.imgur.com/KRWju.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/KRWju.jpg" alt="enter image description here" /></a></p>
  <p>The UIHostingController is always bigger than the view. Also, it will always make the SwiftUI view respect the safe area (which in my case, I do not want)</p>
  <h3>The look I want:</h3>
  <p>(please don't comment the usability of the home indicator, that's not the case here)</p>
  <p><a href="https://i.stack.imgur.com/zksGl.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zksGl.png" alt="enter image description here" /></a></p>
  <p>What's the problem with UIHostingController? I tried setting .edgesIgnoreSafeArea(.all) on all Views within <code>ImageDescriptionView</code>, did not help.</p>