标签: ios objective-c uiimageview rotation cgaffinetransform
我正在使用以下代码来旋转我的图像视图,它工作正常..但每当我更改视图并返回时。我的图像视图向上移动并最终离开屏幕..任何想法为什么?感谢..
self.anchorImage.layer.anchorPoint = CGPointMake(1.0,0.0); CGAffineTransform cgaRotateHr = CGAffineTransformMakeRotation(1); [self.imageView setTransform:cgaRotateHr];