title: Weird behavior of UIView frame after rotation in iPhone
body: <p>Create a square UIView object testView_, and add this at viewDidLoad:</p>
  
  <pre><code>- (void)viewDidLoad {
  [super viewDidLoad];
  CGRect initialRect = testView_.frame;
  NSLog(@"before rotation: w %f h %f x %f y %f", initialRect.size.width, initialRect.size.height, initialRect.origin.x, initialRect.origin.y);
  testView_.transform = CGAffineTransformMakeRotation(0.1);
  NSLog(@"after rotation: w %f, h %f, x %f, y %f", testView_.frame.size.width, testView_.frame.size.height, testView_.frame.origin.x, testView_.frame.origin.y);
  testView_.frame = initialRect;
  NSLog(@"reassign: w %f, h %f, x %f, y %f", testView_.frame.size.width, testView_.frame.size.height, testView_.frame.origin.x, testView_.frame.origin.y);
  }
  </code></pre>
  
  <p>I receive this in the console:</p>
  
  <pre><code>2011-04-27 12:30:32.492 Test[31890:207] before rotation: w 100.000000 h 100.000000 x 20.000000 y 20.000000
  2011-04-27 12:30:32.494 Test[31890:207] after rotation: w 109.483757, h 109.483757, x 15.258121, y 15.258121
  2011-04-27 12:30:32.495 Test[31890:207] reassign: w 117.873589, h 100.000000, x 11.063205, y 20.000000
  </code></pre>
  
  <p>I couldn't figure out the logic behind this change in frame value, especially the last one. Can anyone enlighten me? Thanks.</p>