Search Results

Search found 1 results on 1 pages for 'zerodiv'.

Page 1/1 | 1 

  • CGAffineTransform does not rotate subview - MKAnnotationView, CGAffineTransformMakeRotation

    - by ZeroDiv
    I have a view that does 1 simple thing: draws an image. I can rotate the image like this: CGAffineTransform transform = CGAffineTransformMakeRotation((CGFloat)radians); self.transform = transform; // WORKS: DRAWS, ROTATES But if I delegate the image-drawing function to a subview, and apply the rotation transform to the subview: CGAffineTransform transform = CGAffineTransformMakeRotation((CGFloat)radians); self.imageView.transform = transform; // DOESN'T WORK: DRAWS, BUT NO ROTATE I get the image drawn, but no rotation. Why? FWIW the "self" view is an MKAnnotationView.

    Read the article

1