title: How to make flip animations from one UIView to another when using Auto Layout?
body: <p>I always used to use the following code to make a flip animation between one view and the other:</p>
  
  <pre><code>        [UIView transitionFromView:firstView
                          toView:secondView
                        duration:0.6
                         options:UIViewAnimationOptionTransitionFlipFromLeft
                      completion:^(BOOL finished) {
                          // finish code here
                      }];
  </code></pre>
  
  <p>This worked fine, giving a natural-looking flip. </p>
  
  <p>But when I used it on the view that was defined on a storyboard using <em>Auto Layout</em> things started getting messy - the views were resized and moved after this animation. </p>
  
  <p>Is there any way to <em>animate</em> this kind of flip by animating constraints? </p>