title: Spinning Wheel Game: Trouble with rotation image
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/542739/can-i-use-cgaffinetransformmakerotation-to-rotate-a-view-more-than-360-degrees">Can I use CGAffineTransformMakeRotation to rotate a view more than 360 degrees?</a>  </p>
  </blockquote>
  
  
  
  <p>I'm trying to create a game where pushing a button spins an dial image, having trouble with the rotation code. Goal is to spin the image from its current position by a % of 360, i.e .4 * 360, spin the image 144 degrees. Thanks Guys!</p>
  
  <pre><code>-(IBAction)spin:(id)sender
  {
  
      float strenght = DEGREES_TO_RADIANS(.5 * 360);
  
      [UIView animateWithDuration:0.5f delay:0.0f options:UIViewAnimationCurveEaseOut animations:^
      {
          [spinner_iv setTransform:CGAffineTransformRotate([spinner_iv transform],strenght)];
      } 
      completion:^(BOOL finished) 
      {
          //done
      }];
  }
  </code></pre>