开发者

Adding sublayers while animating parent CALayer in iOs

My parent CALay开发者_StackOverflow中文版er is constantly moving with key frame animations. I need to add sublayers while it is moving. Is it possible? Any suggestions on how to achieve this?


Answering my question: Create a NSThread that adds sublayers to the animated layer. Then call [CATransaction flush].

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜