2
我使用CAKeyframeAnimation
来做UIView
子类的动画。@“transform.rotation.y”动画失去了UIView子类的图层不透明度
当我申请transform.rotation.y
(或transform.rotation.x
),在UIView
子类上绘制的对象失去了不透明性。我无法想象为什么...
我测试一些场景:
- 随着
transform.rotation.z
,不透明度为OK - 随着
position
,不透明度确定在笔尖宣布 - 使用预定义的
UIView
不透明度可以用transform.rotation.y
和transform.rotation.x
是否有特别考虑?和transform.rotation.x
在-drawRect:
?
感谢答案
为了您的启示:请参阅http://learnyourdamnhomophones.com/上的“松散/丢失”条目(超级有用的网站,尽管它稍微弯曲了“同音字”的含义),还请查看** Code Spans * *关于http://stackoverflow.com/editing-help的部分。 – 2011-05-01 17:43:29
好吧,我读过它。对不起,我英文很差。 :( – 2011-05-02 16:35:15
没问题!:-) – 2011-05-02 18:02:37