title: Why does my view move when I set its frame after changing its anchorPoint?
body: <p>I made two instances of <code>UILabel</code> and added them to my <code>ViewController</code>'s view.
  And then I changed the <code>anchorPoint</code> of each from 0.5 to 1.0 (x and y).</p>
  
  <p>Next, I reset the frame of <code>uiLabel2</code> to its frame I created it with: (100,100,100,20).</p>
  
  <p>When I run the app, <code>uiLabel1</code> and <code>uiLabel2</code> show at different positions.  Why?</p>
  
  <pre><code>UILabel *uiLabel1 = [[[UILabel alloc] initWithFrame:CGRectMake(100, 100, 100, 20)] autorelease];
  uiLabel1.text = @"UILabel1";
  uiLabel1.layer.anchorPoint = CGPointMake(1, 1);
  
  UILabel *uiLabel2 = [[[UILabel alloc] initWithFrame:CGRectMake(100, 100, 100, 20)] autorelease];
  uiLabel2.text = @"UILabel2";
  uiLabel2.layer.anchorPoint = CGPointMake(1, 1);
  uiLabel2.frame = CGRectMake(100, 100, 100, 20);
  
  [self.view addSubview:uiLabel1];
  [self.view addSubview:uiLabel2];
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/1kwSD.png" alt="enter image description here"></p>