title: How to align two buttons equidistance from the centre of the UIView
body: <p>I am working with auto layout . Facing on interesting issue . Fortunately overcame from it for the time but need to know the best way to solve it .</p>
  
  <p><img src="https://i.stack.imgur.com/pL3GS.png" alt="enter image description here"></p>
  
  <p><strong>Problem :</strong>
  As showing in the above figure I have couple of buttons . Both needed to place at equidistance width from the centre of the UIView (bold vertical line is centre of the view). Also I have to apply to constraint in such a way that distance between the button will be automatically adjusted. for e.g. the distance should be 25% of the device width. If my device width is 320 the distance between the button is 80 pixels and so on. </p>
  
  <p><strong>Solution(I have tried) :</strong>
  For above problem I tried on solution . As shown in the figure I have added on dummy view in the UIView the width of the dummy view is equal to spacing between two buttons. And then I have applied the constraints to the dummy view. such as : <code>1. Horizontal centre of the UIView  2.Width equals to the UIView width with 0.25 as a multiplier</code> </p>
  
  <p><strong>Question:</strong> 
  above solution is working perfectly for me . But if in future if my view will have too many complex elements then adding dummy view might not be the good idea . So, Is there any other clean way to do this ?</p>