摘要:
NSData*imgData = [NSDatadataWithContentsOfURL:[NSURLURLWithString:@"图片地址"]];UIImage*tempImg = [UIImageimageWithData:imgData];UIImageView*img = [[UIImageViewalloc]initWithFrame:CGRectMake(15,20,60,80)];img.image= tempImg;//[img initWithImage:tempImg]; 用这个不行,为什么?[tempImgrescaleImageToSize:CG 阅读全文
posted @ 2012-06-14 16:56 BradyChen 阅读(2109) 评论(0) 推荐(0) 编辑