LBGIFImage is an easy and efficient way to display animated GIF images. It's based on the
ImageIO.framework which makes it fast and lightweight.
- Drag the
LBGIFImagefolder into your project.
- Import the
- Set the
-fno-objc-arccompiler flag to
NSData* data = [NSData dataWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"image" ofType:@"gif"]]; UIImage* image = [UIImage animatedGIFWithData:data]; ## License LBYouTubeView is licensed under the [MIT License](http://opensource.org/licenses/mit-license.php).