[NSData datawithContentsOfURL:] で指定した URL が (一見) 正しいのに、UIImage がその URL をロードしていません。
ここに私の configureCell: メソッドがあります:
- (void)configureCell:(UITableViewCell *)cell atIndexPath:(NSIndexPath *)indexPath
{
NSString *url = [photoUrls objectAtIndex:indexPath.section];
cell.imageView.image = [UIImage imagewithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:url]]];
}
「photoUrls」配列の内容は次のとおりです (箇条書きを除く)。
(
- http://fbcdn.net/fakeurl1/839.jpg
- http://fbcdn.net/fakeurl2/840.jpg
- http://fbcdn.net/fakeurl3/841.jpg
)