title: iOS - changing constraint relation programmatically
body: <p>given the following constraint in ios programmatically:</p>
  
  <pre><code>IBOutlet NSLayoutConstraint *myConstraint;
  </code></pre>
  
  <p>this constraint is linked in interfacebuilder to the following details:
  <img src="https://i.stack.imgur.com/wsrvs.png" alt="enter image description here"></p>
  
  <p>How do I change the relation attribute programmatically.  I tried to look up for a method called setRelation but I don't see it.</p>