【发布时间】:2015-01-24 15:19:02
【问题描述】:
我是 Objective-C 的新手,我想在表格视图中显示图像。图片来自 URL。
[cell.imageView setImageWithURL:[NSURL URLWithString:[[stories objectAtIndex:storyIndex] objectForKey:@"url"]] placeholderImage:[UIImage imageNamed:@"Icon-60.png"]];
图像显示正确,但是当我滚动时,它们会变大。
我想做的是:
cell.imageView.bounds = CGRectMake(0,0,10,10);
但它不起作用。
【问题讨论】:
标签: ios objective-c uitableview uiimage