Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何让图像沿 y 轴旋转?我尝试使用此代码,但它只是沿图像的 y 轴旋转。
imageView.layer.transform = CATransform3DConcat(imageView.layer.transform, CATransform3DMakeRotation(180,0.0,1.0,0.0));
任何人都可以解决我的问题吗?非常感谢。
首先平移(图像宽度的一半)然后旋转。