title: Changing frame of UIView's CALayer (self.view.layer.frame = ...) appears to have no effect
body: <p>I'm sure I'm missing something basic here.  I'm trying out the CALayers 'hello world' code from:</p>
  
  <p><a href="http://www.raywenderlich.com/2502/introduction-to-calayers-tutorial">http://www.raywenderlich.com/2502/introduction-to-calayers-tutorial</a></p>
  
  <p>Doing the very first example.  New single view project in xcode 4.2.  No change to the nib/storyboard.  Import QuartzCore.  Add the following code to ViewDidLoad in the ViewController.m:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
  
      self.view.layer.backgroundColor = [UIColor blueColor].CGColor;
      self.view.layer.cornerRadius = 30.0;    
      self.view.layer.frame = CGRectMake(20, 20, 20, 20);
  }
  </code></pre>
  
  <p>I run this (ipad 2 or ipad simulator) and get a full screen blue rectangle with rounded corners.  What I hoped to get was a 20x20 blue rectangle offset by 20/20.  </p>
  
  <p>I'm clearly getting control over the views layer (as shown by the color and rounded corners).  However, adjusting the frame seems to have no impact.  I've NSLog'ed the frame before/after setting it, and it has changed. Is the frame of the root layer locked to the uiview frame?</p>
  
  <p>I don't have a strong reason to change the views layers frame, I'm just trying to reason through what is going on.  Hopefully this is an easy question...</p>
  
  <p>Thanks!</p>
  
  <p>Paul</p>