title: Constraints not working when Resizing UIView via Animation
body: <p>It's kind the weird I'm facing right now, I know that adding constraints in an AutoLayout IB is simple. But I really couldn't figure-out why my simple constraints are not working when I'm resizing (ZoomIn Animation) a UIView. </p>
  
  <p>The View I'm targeting to zoomIn works fine, but the subviews within it is not being positioned well. It seems that the constraints are not working.</p>
  
  <p>From this setup, where in the Yellow Boxes are UIViews and the Green Boxes are UIImageViews.
  When I tapped on a Yellow Box, it should zoomIn, as what is shown on the photo below it.</p>
  
  <p><img src="https://i.stack.imgur.com/cvtXJ.png" alt="enter image description here"></p>
  
  <p>These are the constraints:<br>
  <img src="https://i.stack.imgur.com/LQ2SN.png" alt="enter image description here"></p>
  
  <p>This should be the expected resulting upon zoomIn AnimationBut I got no luck, The yellow box zoomIn but the Green Box is let on its old position and did not changed size.</p>
  
  <p>I put a leading, trailing, topSpace, and bottomSpace from Yellow Box to Green Box already.
  My code for resizing the yellow box is:</p>
  
  <pre><code>- (void) resizeViewWithZoomInAnimation: (UIView*)view duration:(float)secs option:(UIViewAnimationOptions) option {
  
  //sets the new width and height of deal's view
  float newWidth = view.superview.frame.size.width - 20;
  float newHeight = view.superview.frame.size.height - 20;
  
  [UIView animateWithDuration:secs delay:0.0 options:option
                   animations: ^{
  
                       switch ([view tag]) {
                           case 1:
                               [view setFrame:CGRectMake(view.frame.origin.x, view.frame.origin.y, newWidth, newHeight)];
                               break;
                           case 2:
                               [view setFrame:CGRectMake(CGRectGetMaxX(view.frame),CGRectGetMinY(view.frame), -newWidth , newHeight)];
                               break;
                           case 3:
                               [view setFrame:CGRectMake(CGRectGetMinX(view.frame),CGRectGetMaxY(view.frame), newWidth , -newHeight)];
                               break;
                           case 4:
                               [view setFrame:CGRectMake(CGRectGetMaxX(view.frame),CGRectGetMaxY(view.frame), -newWidth, -newHeight)];
                               break;
                       }
                   }
                   completion:nil];
  }
  </code></pre>
  
  <p>This should be the expected resulting upon zoomIn Animation:
  <img src="https://i.stack.imgur.com/mGu6b.png" alt="image"></p>