【发布时间】:2012-09-15 10:32:18
【问题描述】:
在我的应用程序中,我有一个 tableview,带有一个自定义 tableviewcell,其中有一个 UIImageView。
但是,我的问题。 - (void)configureCell:(MyCustomCell *)cell atIndexPath:(NSIndexPath *)indexPath我设置图像框架的位置在我设置单元格高度的- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath 之前调用。
意思是,图像位置不正确(它是动态的,根据单元格高度而变化)。
你建议我如何解决这个问题?
谢谢。
【问题讨论】:
标签: iphone ipad uitableview height