开发者

Overlaying an animation on top of UIView

What is the best way to overlay an animated gif on top of a UIView? I have an animation of snowfall that I would like t开发者_运维百科o lay on top of a view, yet still retain interaction with the view below.

Can this be accomplished with UIView animation, or would CoreAnimation be better (for compositing the layers).

Thanks again for the help


One of probably many options would be to set the UIView.backgroundColor = [UIColor clearColor], then place animation objects behind the view, or use a UIButton with a clear bg, etc.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜