title: How can i draw arc with Core Graphics and how can i rotate that arc
body: <p>I want to draw an arc using Core Graphics and i want to rotate that arc.I tried building the arc in this way</p>
  
  <pre><code>    CGContextRef context = UIGraphicsGetCurrentContext();
      CGContextSetLineWidth(context, 2);
      CGContextSetStrokeColorWithColor(context, [UIColor blueColor].CGColor);
      CGContextMoveToPoint(context, 0, 500);
  //    CGContextAddCurveTopoPoint(context, 0, 500, 50, 90, 180, 1);
      CGContextAddArc(context, 60, 500, 50, 90, 180, 0);
      CGContextStrokePath(context);
  </code></pre>
  
  <p>And i want to rotate this arc. Can any one help me how can i do this animation  Thanks!!</p>