小编har*_*ara的帖子

CALayer renderInContext

我用

CATransform3D rotationAndPerspectiveTransform = CATransform3DIdentity;
rotationAndPerspectiveTransform.m34 = 1.0 / -500;
Run Code Online (Sandbox Code Playgroud)

这是成功的,但我使用"renderInContext:context"从上下文中获取CGImage,我发现图像效果没有改变!

如何从CALayer获得此效果图像?

core-animation calayer

6
推荐指数
1
解决办法
4383
查看次数

标签 统计

calayer ×1

core-animation ×1