myTableView.estimatedRowHeight = 44; myTableView.rowHeight = UITableViewAutomaticDimension;
不需要实现
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
return <#expression#>
}