我为每个 UITableViewCell 设置了高度
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
我需要获取每个 UITableViewCell 的高度
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
因为我需要在不同的单元格中添加SubView。
我尝试使用cell.frame
& cell.bounds
& cell.contentView.frame
,但高度没有改变。