title: UIView scaling during animation
body: <p>I've got a custom UIView to show a tiled image.</p>
  
  <pre><code>    - (void)drawRect:(CGRect)rect
      {
          ...
          CGContextRef context = UIGraphicsGetCurrentContext();       
          CGContextClipToRect(context,
               CGRectMake(0.0, 0.0, rect.size.width, rect.size.height));      
          CGContextDrawTiledImage(context, imageRect, imageRef);
          ...
      }
  </code></pre>
  
  <p>Now I am trying to animate the resize of that view.</p>
  
  <pre><code>[UIView beginAnimations:nil context:nil];
  [UIView setAnimationDuration:0.3];
  
  // change frame of view
  
  [UIView commitAnimations];
  </code></pre>
  
  <p>What I would expect is for the tiled area just to grow, leaving the tile sizes constant. What happens instead is that while the area grows the original content of the view is scaled to the new size. At least during the animation. So the at the beginning and the end of the animation all is good. During the animation the tiles are distorted.</p>
  
  <p>Why is CA trying to scale? How can I prevent it from doing so? What did I miss?</p>