title: AutoLayout not working in runtime iOS
body: <p>I have a view, for which I have set the constraints using <code>AutoLayout</code>. After setting the constraints, the preview looks like what I need to have as given below. <img src="https://i.stack.imgur.com/yA9lo.png" alt="This is the preview"></p>
  
  <p>Now when I run the project in the simulator. The <code>AutoLayout</code> constraints seem to be not there. The views are not inj the same position as in the preview. Note: I have not made any dynamic changes to the views positions in the code. I hope so. Please help. Thanks in advance.</p>