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.
精彩评论