【发布时间】:2012-04-14 08:52:52
【问题描述】:
我正在尝试使用 CATransform3D 向视图添加透视图。目前,这就是我得到的:
这就是我想要的:
我很难做到这一点。我完全迷失在这里。这是我的代码:
CATransform3D t = CATransform3DIdentity;
t.m11 = 0.8;
t.m21 = 0.1;
t.m31 = -0.1;
t.m41 = 0.1;
[[viewWindow layer] setTransform:t];
【问题讨论】:
标签: iphone ios uiview core-animation transform