title: Correctly Using CGAffineTransformMakeScale
body: <p>I have a <code>UIButton</code> laid out using storyboard. The button just contains an image. When the button is clicked, I want to animate the size of the button - decrease in size and then bring it back to the original size again.</p>
  
  <p>I used the following code - </p>
  
  <pre><code>[UIView animateWithDuration:2.0 animations:^{
      _favButton.transform = CGAffineTransformMakeScale(0.5, 0.5);
  }completion:^(BOOL finished) {
      [UIView animateWithDuration:2.0 animations:^{
            _favButton.transform = CGAffineTransformMakeScale(1, 1);
      }];
  }];
  </code></pre>
  
  <p>This code moves my button on the screen which I do not want. I want the <code>center</code> of the button to be fixed and the size be animated.</p>
  
  <p>I have not used any <code>Top Constraint</code> in the storyboard for the button. How can I rectify this behaviour? </p>