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:
…