在我的应用程序中,我有一个tableview,有一个自定义的tableviewcell,并有一个UIImageView。设置高度后设置单元格子视图位置?
但是,我的问题。 - (void)configureCell:(MyCustomCell *)cell atIndexPath:(NSIndexPath *)indexPath
其中我设置我的图像的帧被调用之前- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
其中我设置单元格高度。
含义,图像位置不正确(其动态,根据单元高度而变化)。
你如何建议我解决这个问题?
谢谢。