适用于iOS的动画GIF替代品 [英] Animated GIF alternative for iOS
问题描述
回到当天动画GIF在网上无处不在。
"Back in the day" animated GIFs were ubiquitous online.
它们使用起来很简单 - 只需在任何你想要的动画图像中弹出它们。
They were simple to use - just pop em' in wherever you want an animated image.
我想在iOS应用程序中显示动画图像(例如,图形说明从信封打开的字母)。
I'd like to display an animated image within an iOS application (for example, a graphic illustrating a letter being opened from an envelope).
但是,我不知道如何解决这个问题。
But, I'm not sure how to go about this.
显然我不想使用动画GIF。
Obviously I don't want to use an animated GIF.
某种视频看起来像它可能是首选的解决方案。透明度呢?另外,视网膜显示器怎么样?
A video of some sort seems like it might be the preferred solution. But, what about transparency? Also, what about the retina display?
谢谢。
推荐答案
这是一个关于动画UIImage的教程iPhone SDK:
Here is a tutorial on animating UIImage in the iPhone SDK:
http://www.icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/
这篇关于适用于iOS的动画GIF替代品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!