title: issue in CABasicAnimation to change frame from location to another location in ios
body: <pre><code>the label is not animating  . . . .  
  
  
  
    UILabel * m_pLabel = [[UILabel alloc] initWithFrame:CGRectMake(100, 10, 100, 40)];
  
    [m_pLabel setBackgroundColor:[UIColor redColor]];
  
    [self.view addSubview:m_pLabel];
  
  
    CABasicAnimation * m_pAnimationObj = [CABasicAnimation animationWithKeyPath:@"key"];
  
    [m_pAnimationObj setFromValue:[NSValue valueWithCGRect:CGRectMake(100, 10, 100, 40)]];
  
    [m_pAnimationObj setToValue:[NSValue valueWithCGRect:CGRectMake(100, 500, 100, 40)]];
  
    m_pAnimationObj.duration = 5.0;
  
    m_pAnimationObj.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
  
    [m_pLabel.layer addAnimation:m_pAnimationObj forKey:@"key"];
  </code></pre>