- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;在这个函数里面进行判断,然后设定高度 到DEVDIV.COM网站查看