title: Constraint animation not working on device but on simulator
body: <p>Im using a UIView animations to move up/down a view (Using Autolayout) .<br>
   Animation works on simulator but it doesn't on actual device. What could be the problem? Code to do the animation is here  </p>
  
  <pre><code>[self layoutIfNeeded];
  [UIView animateWithDuration:.5 animations:^{
              self.animationConstraint.constant = -190;
              [self bringSubviewToFront:self.containerView];
              [self.containerView layoutIfNeeded];
          }];
  </code></pre>
  
  <p>I have checked the memory usage, but it doesn't cross more than 2% at the time of doing the animations.</p>