标签: iphone ios rotation uiimage axis
如何让图像沿y轴旋转? 我尝试使用此代码,但它只是沿图像的y轴旋转。
imageView.layer.transform = CATransform3DConcat(imageView.layer.transform, CATransform3DMakeRotation(180,0.0,1.0,0.0));
任何人都可以解决我的问题吗?非常感谢。
答案 0 :(得分:1)
首先翻译(图像宽度的一半),然后旋转。