title: SwiftUI - How to align bottom edge to center of sibling
body: <p>Please have a look at this image before reading the question</p>
  
  <p><img src="https://i.stack.imgur.com/ETY48.png" alt="Please have a look at this image before reading the question"></p>
  
  <p>I'm currently trying to align the red view's vertical center (/centerY) to the bottom edge of the green view in a SwiftUI View.</p>
  
  <p>I'm coming from UIKit where I would solve this with something like <code>viewA.centerYAnchor.constraint(toEqual: viewB.bottomAnchor)</code></p>
  
  <p>But how would you solve this the SwiftUI way? I have kind of the following hierachy:</p>
  
  <pre><code>VStack {
      ZStack {
          Image("someImage")
          Text("Awesome Title") // &lt;- align center to the Image's bottom edge
              .frame(width: 200, height: 130)
  
      }
      Spacer()
  }
  </code></pre>