首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

cocoa ios iphone xcode 播发GIF动画

2012-12-18 
cocoa ios iphonexcode 播放GIF动画使用imageio的这个自带的framework, 这个库也是apple的webkit所使用的,

cocoa ios iphone xcode 播放GIF动画

使用imageio的这个自带的framework, 这个库也是apple的webkit所使用的,可以参考apple的opensource的webkit实现。 因此,这个 库从性能和蒹容性方面应该都是最佳选择

以下是代码,比较简单 


    image.animationDuration = totalDuration;    image.animationImages = images;    [image startAnimating]






热点排行