Skip to content
Use it as UIImageView to display Gif with animation.
Find file
Latest commit a501c1e @shichangone minor bug.

How to use it?

Use SCGIFImageView as a UIImageView to show a gif image with animation.

NSString* filePath = [[NSBundle mainBundle] pathForResource:@"1.gif" ofType:nil];
NSData* imageData = [NSData dataWithContentsOfFile:filePath];

SCGIFImageView* gifImageView = [[[SCGIFImageView alloc] initWithFrame:self.view.bounds] autorelease];
[gifImageView setData:imageData];

[self.view addSubview:gifImageView];
Something went wrong with that request. Please try again.