CATransform3D.m34设置无效果
CATransform3D outTransfrom = CATransform3DIdentity;
outTransfrom = CATransform3DRotate(outTransfrom, M_PI_4, 0, 1, 0);
outTransfrom.m34 = -1.0 / 500.0;
layer.transform = outTransfrom;
outTransfrom.m34 需写在变化之前
所以想要m34有效,
CATransform3DMakeRotation/Scale/Translation 的方法不要用
扁平化图层
如果对包含已经做过变换的图层的图层做反方向的变换,角度不能一对一相抵消,得看m34的值,没用规律,而且还有superLayer的sublayerTransform.m34