Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
14 lines (7 sloc) 0.436 kB

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];
Jump to Line
Something went wrong with that request. Please try again.