LBGIFImage
LBGIFImage copied to clipboard
This is a small category that creates an animated UIImage out of a gif image.
LBGIFImage
About
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.
Installation
- Drag the
LBGIFImagefolder into your project. - Import the
ImageIO.framework.
Example
NSData* data = [NSData dataWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"image" ofType:@"gif"]];
UIImage* image = [UIImage animatedGIFWithData:data];
License
LBGIFImage is licensed under the MIT License.