title: Changing frame with animation
body: <p>I create a animation :</p>
  
  <pre><code>NSArray *animationArr=[[NSArray alloc] initWithObjects:
                          [UIImage imageNamed:@"FirstPosition@2x"],
                          [UIImage imageNamed:@"SecondPosition@2x"],nil];
  
      [self.animatView setAnimationImages:animationArr];
      [self.animatView setAnimationDuration:2.4];
      [self.animatView setAnimationRepeatCount:1];
      [self.animatView startAnimating];
  </code></pre>
  
  <p>It is working but I need to change my <code>animatView</code> position. How can I do that? For first image and for second frame will be different.</p>
  
  <p><strong>Any ideas?</strong></p>
  
  <p>If it be a group of animation, how can I change frame for every animation?</p>
  
  <p>Thanks for help!</p>
  
  <p><strong>Edit #1</strong>:</p>
  
  <p>For three images to animate I use this, but it's not working fine. First it change frame then work first animation.</p>
  
  <pre><code>CGRect animatFrame = self.animatView.frame;
  
  [UIView animateWithDuration:self.animatView.animationDuration
                       animations:^{
  
                           self.animatView.frame = CGRectMake(self.animatView.frame.origin.x + 5.5 / 2.0, self.animatView.frame.origin.y + 28.5 / 2.0, self.animatView.frame.size.width, self.animatView.frame.size.height);
                           self.animatView.frame = CGRectMake(self.animatView.frame.origin.x - 14.0 / 2.0, self.animatView.frame.origin.y - 6.5 / 2.0, self.animatView.frame.size.width, self.animatView.frame.size.height);
  
                       }
                       completion:^(BOOL finished){
  
                           self.animatView.frame = animatFrame;
  
                       }];
      [UIView commitAnimations];
  </code></pre>