title: ios animation, rotating button, button suddenly changes position
body: <p>I am trying to implement <code>animations</code> in my <code>application</code>. I just want to try a simple rotation of a <code>button</code>. The button itself is <code>rotated</code>, but also it changes its position and the rotation angle is different than the one I want. I have also added the <code>autoresizesSubwievs = NO;</code></p>
  
  <pre><code>- (IBAction)rotateView:(id)sender
  {
      [UIView animateWithDuration:0.6f delay:0.1 options:UIViewAnimationOptionCurveEaseOut animations:^{
      self.view.autoresizesSubviews = NO;
      [self.buttoner setTransform:CGAffineTransformRotate(self.buttoner.transform, 90.0f)];
      } completion:nil];
  }
  </code></pre>
  
  <p>What am I doing wrong? Can you please help me?</p>
  
  <p>EDIT:
  I have two buttons, when the first gets pressed, I call the above method ... but this causes to move the first button and then to move the second button and rotate it with inappropriate angle. I dont understand that at all..</p>