title: Moving UIButton on Y axis while using Autolayout
body: <p>I'm working on a project where I'm using Auto Layout / Universal Story board for the app.</p>
  
  <p>I have a UIButton that I'd like to move to a new position on a certain event. But however without affecting the auto layout. So it will look the same on each device.</p>
  
  <p>I've managed to move the button through this code:</p>
  
  <pre><code>int deltaY = 100;
  
      [ans1 removeConstraints:ans1.constraints];
      ans1.frame = CGRectMake(ans1.frame.origin.x, ans1.frame.origin.y + deltaY, ans1.frame.size.width, ans1.frame.size.height);
  </code></pre>
  
  <p>However the button moves back to it's orginal position within a second or so.</p>