Skip to content

This sample project shows async download image from Flickr (free to change the URL). While downloading image, this app shows animation gif image like activity indicator.

Notifications You must be signed in to change notification settings

tatsuro-ueda/p120730_AsyncImageDownloadWithIndicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

##Image Async Download with Animation GIF

This sample project shows async download image from Flickr (free to change the URL). While downloading image, this app shows animation gif image like activity indicator.

While downloading image, it shows activity indicator.

Downloading

When downloading is finished, it shows the image just downloaded.

Finished

I used two libraries.

The code downloading is below (only 4 lines ! ):

- (IBAction)download:(id)sender {
    NSURL *url = [NSURL URLWithString:strURL.text];
    UIImage* image = [UIImage animatedGIFNamed:@"loading3"];
    [imageView setImageWithURL:url placeholderImage:image];
}

Please pay attention to put the framework ImageIO.framework into your project.

About

This sample project shows async download image from Flickr (free to change the URL). While downloading image, this app shows animation gif image like activity indicator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages