Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个“基本”表格视图单元格并想设置一个图像:
[cell.imageView setImageWithURL:urlOfAvatar placeholderImage:[UIImage imageNamed:@"none40"]];
不幸的是,结果是图像对于单元格来说太大了。有可能使这看起来正确吗?
编写自定义cell继承UITableViewCell,并覆盖layoutSubViews。</p>
如何:https ://stackoverflow.com/a/4866205/946434