title: Animate Rotation/Scale/Translate of UIImage at the same time
body: <p>I am new to objective-c and I want to add an image to the screen, tweening it like in AS3, moving it from one end to the other of the screen while rotating around its own center point.</p>
  
  <p>I tried with</p>
  
  <pre><code>[UIView animateWithDuration:0.5 delay:0 options:UIViewAnimationOptionCurveEaseInOut animations:^{
              // TRANSFORM SCREENSHOT
              screenShotView.transform = CGAffineTransformRotate(screenShotView.transform, -M_PI * 0.05);
              screenShotView.transform = CGAffineTransformScale(screenShotView.transform, 0.6, 0.6);
              screenShotView.transform = CGAffineTransformTranslate(screenShotView.transform, 
                                                                    self.webView.frame.origin.x,
                                                                    self.webView.frame.origin.y - self.webView.frame.size.height * 0.3
                                          );
  </code></pre>
  
  <p>but with this code the image rotates around the center of the TransformIdentity. So while rotating and moving the rotation gets out of controll and the image isn't exactly at the position I loved it to be.</p>
  
  <p>What is the right way to rotate and translate at the same time, translating the rotation center with the image?</p>
  
  <p>and at least after transformation I want to add a close button to the right upper corner of the image. for that I need the new coordinates of the corner, too.</p>
  
  <p>thnx!</p>