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
LBGIFImage
folder into your project. - Import the
ImageIO.framework
.
NSData* data = [NSData dataWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"image" ofType:@"gif"]];
UIImage* image = [UIImage animatedGIFWithData:data];
LBGIFImage is licensed under the MIT License.