インターネットから画像を取得し、tableView imageView に追加します。私は魔法のように働きますが、写真が大きすぎるとピクセル化されます. そのため、補間品質とアンチエイリアシングを実装しました。しかし、これらの方法のいずれかを使用すると、画像が表示されません。0x0 エラーなどは発生しません。だから私はかなり困惑しています。
UIImage *image_ = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:TableText7]]];
CGSize newSize = CGSizeMake(image_.size.width,image_.size.height);
UIGraphicsBeginImageContext(newSize);
CGContextSetInterpolationQuality(UIGraphicsGetCurrentContext(), kCGInterpolationHigh);
CGContextSetShouldAntialias(UIGraphicsGetCurrentContext(), true);
image_ = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
[cell.imageView setImage:image_];
[cell setNeedsLayout];