I have a UITableView which contain several cell. When I click a cell, I push an other controller which shows the detail of this cell. In the detail I have a scrollView which contains several UIImageViews. I would like to download the images for these views from the web using ASIHTTPRequest, when the detail view is loaded.
I have a UITableView which contain several cell. When I click a cell, I
Share
You can override
UIView. Each view has anASIHTTPRequest. When each download has finished, you can usedrawRectto draw the downloaded image.this is a demo:
MyImageView.h
MyImageView.m
Usage: