title: Xcode adding constraints so an ImageView
body: <p>I'm making an app in Xcode where there is a trunk in the middle of the screen and a branch on the right as you can see in the image (I've put two buttons which represent the trunk and the branch. The blue button is the trunk while the red one is the branch).</p>
  
  <p>Using the constraints I managed to resize the trunk properly in every iPhone device, but I am not able to do the same with the branch.</p>
  
  <p>Can you tell me how to keep this configuration of the trunk and the branch using constraints? </p>
  
  <p>I've tried adding:
  -Align horizontally in container, using the "Current canvas value"
  -Aspect ratio
  -Aspect ratio in proportion with the Trunk
  but it doesn't work</p>
  
  <p>Here is the image of the buttons which represents the trunk and the branch:</p>
  
  <p><a href="https://i.stack.imgur.com/Oaovx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Oaovx.png" alt="Tree and branch in emulator"></a></p>