Get image from website url iphone faster

Posted by dragon on Stack Overflow See other posts from Stack Overflow or by dragon
Published on 2010-05-19T07:47:14Z Indexed on 2010/05/19 7:50 UTC
Read the original article Hit count: 186

Filed under:

Hi i want to get image faster from website in iphone..

Now i get image from website url using this function

NSData *data;
UIImage *Favimage;
data = [NSData dataWithContentsOfURL:[NSURL URLWithString:WebsiteUrl]];
Favimage = [[UIImage alloc]initWithData:data];

But it takes some time to get image from website url. Now i want get faster image means ? What can i do ? Is there any api in apple iphone sdk?

Can any one help me ?

Thanks in advance.....

© Stack Overflow or respective owner

Related posts about iphone