title: UIimageView rotate around a point
body: <p>I've got an image (a straight line) and am trying to rotate it in some angle from a specific point. What happens is that the image is rotated from the center point of itself. I wan't a way through which the base of the image remains the same and it rotates in the angle I want to, just as in case of a clock.
  I use </p>
  
  <pre><code>Compass2.layer.anchorPoint= CGPointMake(0.5,1);
  [Compass2 setTransform:CGAffineTransformMakeRotation(XXXX)];
  </code></pre>
  
  <p>However it shows Accessing unknown 'achorPoint' component of a property.
  Can anyone give me some solutions</p>