我有一个自定义uitableviewcell
。无法更改UITableViewCell contentView高度
我想根据一些条件改变它的高度。 我怎样才能做到这一点?
我试着在cellForRowAtIndexPath
这样做 -
if (cell.newsFeedImage.image == NULL)
{
NSLog(@"NULL");
cell.uDisplayImage.frame = CGRectMake(20, 20, 20, 20);
}
出现日志消息,但帧永远不会改变。
请帮忙。
[设置自定义UITableViewCells高度(可能重复http://stackoverflow.com/questions/494562/setting-custom-uitableviewcells-height) – Szu 2014-09-29 11:05:27