title: how can i do UIView animateWithDuration in viewDidLoad? ios7
body: <p><strong>I try this in viewDidAppear but i have a one second of delay =( what can i do? for work in viewDidLoad?</strong></p>
  
  <pre><code>-(void)viewDidAppear:(BOOL)animated{
  
  
              fullRotation = [CABasicAnimation animationWithKeyPath:@"transform.rotation"];
              fullRotation.fromValue = [NSNumber numberWithFloat:0];
              fullRotation.toValue = [NSNumber numberWithFloat:((720*M_PI)/360)];
              fullRotation.duration = 5;
              //  fullRotation.repeatCount = 1e10f;
              [_propImaCirculoCompleto.layer addAnimation:fullRotation forKey:@"360"];
  
  
  }
  </code></pre>