我用
CATransform3D rotationAndPerspectiveTransform = CATransform3DIdentity; rotationAndPerspectiveTransform.m34 = 1.0 / -500;
这是成功的,但我使用"renderInContext:context"从上下文中获取CGImage,我发现图像效果没有改变!
如何从CALayer获得此效果图像?
core-animation calayer
calayer ×1
core-animation ×1