开发者

Curtail UIImage download size from WEB

I have an application that downloads im开发者_开发技巧ages based on URL using the call:

img = [[UIImage alloc] initWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:urlToImage] options:0 error:&err]];

where URL is an image on the WEB.

I really want to curtail the amount of data transfer, so would like to reduce the file size of the download.

I was wondering if anyone has a magic way of reducing the file size of the download short of implementing a PHP server process to be the go between to take care of this.

Thanks in advance!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜