//由于网络请求的图片如果直接setImage会出现大小不正常的情况,所以用下面方法解决这一问题
NSURL*url = [NSURLURLWithString:[_bankInfoobjectForKey:@"bank_pic"]];
UIImage*icon = [UIImageimageWithData:[NSDatadataWithContentsOfURL:url]];
CGSizeitemSize =CGSizeMake(40,40);
UIGraphicsBeginImageContextWithOptions(itemSize,NO,0.0);
CGRectimageRect =CGRectMake(0.0,0.0, itemSize.width, itemSize.height);
[icondrawInRect:imageRect];
cell.imageView.image=UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
//